CVE-2021-25951 json
XML2Dict XML Entity Expansion Vulnerability
published 2021-06-30 5 y ago modified 2026-06-17 4 mo ago also GHSA-gp6m-vqhm-5cm5 , PYSEC-2021-349 , EUVD-2021-0469
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.2%
- EPSS 1.2% chance of exploitation in 30 days, percentile 67%
- public exploits
- 0
- none known
Summary
XXE vulnerability in 'XML2Dict' version 0.2.2 allows an attacker to cause a denial of service.
Exploit prediction
1.17% chance of exploitation in the next 30 days, higher than 67% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- whitesourcesoftware.com https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25951 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | xml2dict | <=0.2.2 all versions |
no fix listed |
Affected products
- n/a XML2Dict
Classification
References
-
whitesourcesoftware.com
/vulnerability-database/CVE-2021-25951
web, exploit, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-25951
advisory
-
github.com
/mcspring/XML2Dict/tree/master
web
-
github.com
/mcspring/xml2dict
package
-
github.com
/pypa/advisory-database/tree/main/vulns/xml2dict/PYSEC-2021-349.yaml
web
-
pypi.org
/project/XML2Dict
web
-
github.com
/advisories/GHSA-gp6m-vqhm-5cm5
advisory
Sources
- CVE List CVE-2021-25951
- GitHub Advisory GHSA-gp6m-vqhm-5cm5
- NVD CVE-2021-25951
- OSV PYSEC-2021-349
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.