CVE-2021-25951
XML2Dict XML Entity Expansion Vulnerability
XXE vulnerability in 'XML2Dict' version 0.2.2 allows an attacker to cause a denial of service.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.5
XXE vulnerability in 'XML2Dict' version 0.2.2 allows an attacker to cause a denial of service.
- Record
CVE-2021-25951- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:N/A:P - Weakness
- CWE-611
- Updated
- 2026-11-02
CVE List No score
XXE vulnerability in 'XML2Dict' version 0.2.2 allows an attacker to cause a denial of service.
- Record
CVE-2021-25951- Updated
- 2026-11-02
EUVDEUVD-2021-0469 No score
XXE vulnerability in 'XML2Dict' version 0.2.2 allows an attacker to cause a denial of service.
- Record
EUVD-2021-0469- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-gp6m-vqhm-5cm5
8.7
XML2Dict XML Entity Expansion Vulnerability
XXE vulnerability in 'XML2Dict' version 0.2.2 allows an attacker to cause a denial of service. The parse function does not properly restrict recursive entity references.
- Record
GHSA-gp6m-vqhm-5cm5- CVSS 4.0
- 8.7 High
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 - CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-611, CWE-776
- Updated
- 2026-11-02
OSVGHSA-gp6m-vqhm-5cm5
8.7
XML2Dict XML Entity Expansion Vulnerability
XXE vulnerability in 'XML2Dict' version 0.2.2 allows an attacker to cause a denial of service. The parse function does not properly restrict recursive entity references.
- Record
GHSA-gp6m-vqhm-5cm5- CVSS 4.0
- 8.7 High
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 - CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-611, CWE-776
- Updated
- 2026-11-02
OSVPYSEC-2021-349 No score
XXE vulnerability in 'XML2Dict' version 0.2.2 allows an attacker to cause a denial of service.
- Record
PYSEC-2021-349- Updated
- 2026-11-02
Affected products
Affected packages
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-25951 is a high vulnerability (CVSS 7.5) in Xml2dict Project Xml2dict, published June 30, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.17%, the 67th percentile. No source names a fixed version.
References
whitesourcesoftware.com/vulnerability-database/CVE-2021-25951
nvd.nist.gov/vuln/detail/CVE-2021-25951
github.com/mcspring/XML2Dict/tree/master
github.com/pypa/advisory-database/tree/main/vulns/xml2dict/PYSEC-2021-349.yaml
pypi.org/project/XML2Dict
github.com/advisories/GHSA-gp6m-vqhm-5cm5
github.com/mcspring/xml2dict