weixin-python XML External Entity vulnerability
A vulnerability was found in zwczou WeChat SDK Python 0.3.0 and classified as critical. This issue affects the function validate/to_xml. The manipulation leads to xml external entity reference. The attack may be initiated remotely. Upgrading to version 0.5.5 is able to address this issue. The name of the patch is e54abadc777715b6dcb545c13214d1dea63df6c9. It is recommended to upgrade the affected component. The associated identifier of this vulnerability is VDB-223403.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | weixin-python | < 0.5.5 | 0.5.5 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-25082
- https://github.com/zwczou/weixin-python/pull/30
- https://github.com/zwczou/weixin-python/commit/e54abadc777715b6dcb545c13214d1dea63df6c9
- https://github.com/zwczou/weixin-python
- https://github.com/zwczou/weixin-python/releases/tag/v0.5.5
- https://vuldb.com/?ctiid.223403
- https://vuldb.com/?id.223403
- https://pypi.org/project/weixin-python
- https://github.com/advisories/GHSA-h384-ph77-3699
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- Weakness (CWE)
CWE-611- Platform
- Python (PyPI)
- Package
weixin-python- Disclosed
- 21.03.2023
- Updated
- 11.10.2026 13:17
Sources and licenses
OSV / GitHub Advisory Database - GHSA-h384-ph77-3699 - CC BY 4.0
OSV / GitHub Advisory Database - PYSEC-2026-572 - PyPA Advisory Database; CC BY 4.0
Vulnerability history: weixin-python
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.