PYSEC-2026-572

See a problem?
Import Source
https://github.com/pypa/advisory-database/blob/main/vulns/weixin-python/PYSEC-2026-572.yaml
JSON Data
https://api.osv.dev/v1/vulns/PYSEC-2026-572
Aliases
Published
2026-06-29T11:50:42Z
Modified
2026-07-01T20:23:11Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
weixin-python XML External Entity vulnerability
Details

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.

References

Affected packages

PyPI / weixin-python

Package

Name
weixin-python
View open source insights on deps.dev
Purl
pkg:pypi/weixin-python

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.5.5

Affected versions

0.*
0.2.3
0.2.4
0.2.5
0.2.6
0.2.7
0.2.9
0.3.0
0.4.0
0.4.2
0.4.3
0.4.4
0.4.6
0.5.0
0.5.2
0.5.3
0.5.4

Database specific

source
"https://github.com/pypa/advisory-database/blob/main/vulns/weixin-python/PYSEC-2026-572.yaml"