{"answers":{"affected":"3 open source packages ship an affected version, including weixin-python. It affects 1 product.","exploited":"There is no known exploitation of CVE-2018-25082 in the wild and no public exploit code.","fix":"Upgrade weixin-python to 0.5.5 or later.","what":"CVE-2018-25082 is a medium-severity vulnerability in zwczou WeChat SDK Python, published on 21 Mar 2023. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-25082 and fix it if it is affected.\n\nWhat it is: CVE-2018-25082 is a medium-severity vulnerability in zwczou WeChat SDK Python, published on 21 Mar 2023. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2018-25082 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- weixin-python (PyPI): affected all versions; fixed in 0.5.5\n- weixin-python (PyPI): affected all versions; fixed in 0.5.5\n- weixin-python (PyPI): affected all versions; fixed in 0.5.5\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2018-25082/ (Markdown: https://insights.sbomify.com/CVE-2018-25082/index.md)","id":"CVE-2018-25082","markdown":"https://insights.sbomify.com/CVE-2018-25082/index.md","name":"CVE-2018-25082","record":{"aliases":["GHSA-h384-ph77-3699","PYSEC-2026-572"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"WeChat SDK Python","requires_auth":"low_privilege","summary":"Remote attackers can exploit XML external entity injection in the WeChat SDK Python library to read sensitive data or cause denial of service.","user_interaction":"not_required","vuln_class":"xxe"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulDB","cpe":[{"product":"wechat_sdk_python","vendor":"wechat_sdk_python_project"}],"cvss":{"score":6.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-611","name":"Improper Restriction of XML External Entity Reference"}],"description":"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 patch is named e54abadc777715b6dcb545c13214d1dea63df6c9. It is recommended to upgrade the affected component. The associated identifier of this vulnerability is VDB-223403.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"zwczou WeChat SDK Python to_xml xml external entity reference","id":"CVE-2018-25082","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"xxe","year":"2018"},"n_packages":3,"n_references":5,"next":{"headline":"pullit vulnerable to command injection","id":"CVE-2018-25083"},"packages":[{"ecosystem":"PyPI","fixed":["0.5.5"],"introduced":["0"],"last_affected":[],"package":"weixin-python","purl":null,"source":"GHSA-h384-ph77-3699"},{"ecosystem":"PyPI","fixed":["0.5.5"],"introduced":["0"],"last_affected":[],"package":"weixin-python","purl":"pkg:pypi/weixin-python","source":"GHSA-h384-ph77-3699"},{"ecosystem":"PyPI","fixed":["0.5.5"],"introduced":["0"],"last_affected":[],"package":"weixin-python","purl":"pkg:pypi/weixin-python","source":"PYSEC-2026-572"}],"prev":{"headline":"Information disclosure in n/a","id":"CVE-2018-25081"},"products":["WeChat SDK Python"],"published":"2023-03-21","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-02-26","vendors":["zwczou"]},"summary":"Remote attackers can exploit XML external entity injection in the WeChat SDK Python library to read sensitive data or cause denial of service.","url":"https://insights.sbomify.com/CVE-2018-25082/"}