com.github.binarywang:weixin-java-common@2.7.0 vulnerabilities

Direct Vulnerabilities

Known vulnerabilities in the com.github.binarywang:weixin-java-common package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • C
XML External Entity (XXE) Injection

com.github.binarywang:weixin-java-common is a package that provides support for back-end development of WeChat features including WeChat payment, open platform, public number (including subscription number and service number), enterprise WeChat/enterprise number, and applet.

Affected versions of this package are vulnerable to XML External Entity (XXE) Injection via the getXmlDoc method. An attacker can access sensitive data or cause a denial of service by submitting crafted XML input that references external entities.

Note: This issue exists because of an incomplete fix for CVE-2018-20318.

How to fix XML External Entity (XXE) Injection?

Upgrade com.github.binarywang:weixin-java-common to version 3.4.0 or higher.

[,3.4.0)