CVE-2021-25951
HIGH 7.5CVSS 3.1XML2Dict XML Entity Expansion Vulnerability
XXE vulnerability in 'XML2Dict' version 0.2.2 allows an attacker to cause a denial of service.
- Published
- 30 Jun 2021
- Last modified
- 17 Jun 2026
- Assigned by
- vulnerabilitylab@mend.io
- NVD status
- Modified
- Weakness
- CWE-611CWE-776
- Also known as
- GHSA-gp6m-vqhm-5cm5PYSEC-2021-349
- Sources
- NVDJSONOSV GHSA-gp6m-vqhm-5cm5JSONOSV PYSEC-2021-349JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | xml2dict_project | xml2dictcpe:2.3:a:xml2dict_project:xml2dict:0.2.2:*:*:*:*:python:*:* |
= 0.2.2 | |
| OSV | PyPI | xml2dict | <= 0.2.2 | |
| OSV | PyPI | xml2dict | all versions |
References
- https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25951 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-25951 · ADVISORY
- https://github.com/mcspring/XML2Dict/tree/master · WEB
- https://github.com/mcspring/xml2dict · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/xml2dict/PYSEC-2021-349.yaml · WEB
- https://pypi.org/project/XML2Dict · WEB
- https://github.com/advisories/GHSA-gp6m-vqhm-5cm5 · ADVISORY
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 30 Jun 2021)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 30 Jun 2021)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 2 Jul 2021)