Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. com.github.binarywang/weixin-java-common
  4. ›
  5. CVE-2019-5312

CVE-2019-5312: Improper Restriction of XML External Entity Reference

May 14, 2022 (updated January 8, 2024)

An issue was discovered in weixin-java-tools v3.3.0. There is an XXE vulnerability in the getXmlDoc method of the BaseWxPayResult.java file. NOTE: this issue exists because of an incomplete fix for CVE-2018-20318.

References

  • github.com/Wechat-Group/WxJava/commit/8ec61d1328f50e23cd14285a950ca57a088b32b2
  • github.com/Wechat-Group/WxJava/issues/903
  • github.com/Wechat-Group/WxJava/issues/903
  • github.com/advisories/GHSA-h755-h99p-9ffv
  • nvd.nist.gov/vuln/detail/CVE-2019-5312

Code Behaviors & Features

Detect and mitigate CVE-2019-5312 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 3.3.2.b

Fixed versions

  • 3.3.2.B

Solution

Upgrade to version 3.3.2.B or above.

Impact 9.8 CRITICAL

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-611: Improper Restriction of XML External Entity Reference

Source file

maven/com.github.binarywang/weixin-java-common/CVE-2019-5312.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Fri, 30 Oct 2026 12:16:59 +0000.