VDB
KO
CRITICAL 9.8

PYSEC-2026-572

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI / weixin-python
Introduced in: 0 Fixed in: 0.5.5
Fix pip install --upgrade 'weixin-python>=0.5.5'

References