{"id":"CVE-2021-25951","aliases":["EUVD-2021-0469","GHSA-gp6m-vqhm-5cm5","PYSEC-2021-349"],"status":"published","title":"XML2Dict XML Entity Expansion Vulnerability","description":"XXE vulnerability in 'XML2Dict' version 0.2.2 allows an attacker to cause a denial of service.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.01172,"percentile":0.67707,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-611","CWE-776"],"published":"2021-06-30T11:42:24Z","modified":"2026-06-17T03:42:39Z","affected":[{"source":"ghsa","ecosystem":"PyPI","package":"xml2dict","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.2.2"}]}]},{"source":"osv","ecosystem":"PyPI","package":"xml2dict","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.2.2"}]}],"versions":["0.1","0.1.1","0.2.1","0.2.2"]},{"source":"osv","ecosystem":"PyPI","package":"xml2dict","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.1","0.1.1","0.2.1","0.2.2"]}],"products":[{"vendor":"xml2dict_project","product":"xml2dict"}],"references":[{"url":"https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25951","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-25951","tags":["advisory"]},{"url":"https://github.com/mcspring/XML2Dict/tree/master","tags":["web"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/xml2dict/PYSEC-2021-349.yaml","tags":["web"]},{"url":"https://pypi.org/project/XML2Dict","tags":["web"]},{"url":"https://github.com/advisories/GHSA-gp6m-vqhm-5cm5","tags":["advisory"]},{"url":"https://github.com/mcspring/xml2dict","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2021-25951","description":"XXE vulnerability in 'XML2Dict' version 0.2.2 allows an attacker to cause a denial of service.","status":"published","published":"2021-06-30T11:42:24Z","modified":"2024-08-03T20:19:18.944Z","updated_at":"2026-11-02T14:32:59.802172Z"}],"euvd":[{"id":"EUVD-2021-0469","description":"XXE vulnerability in 'XML2Dict' version 0.2.2 allows an attacker to cause a denial of service.","status":"published","published":"2021-06-30T11:42:24Z","modified":"2024-08-03T20:19:18Z","updated_at":"2026-11-03T03:24:51.962182Z"}],"ghsa":[{"id":"GHSA-gp6m-vqhm-5cm5","title":"XML2Dict XML Entity Expansion Vulnerability","description":"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.","status":"published","published":"2021-07-02T18:37:31Z","modified":"2024-11-19T18:24:52Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"},{"version":"4.0","score":8.7,"vector":"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","level":"high"}],"cwes":["CWE-611","CWE-776"],"updated_at":"2026-11-02T14:38:21.777721Z"}],"nvd":[{"id":"CVE-2021-25951","description":"XXE vulnerability in 'XML2Dict' version 0.2.2 allows an attacker to cause a denial of service.","status":"published","published":"2021-06-30T12:15:07.573Z","modified":"2026-06-17T03:42:39.847Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-611"],"updated_at":"2026-11-02T14:06:55.259633Z"}],"osv":[{"id":"GHSA-gp6m-vqhm-5cm5","title":"XML2Dict XML Entity Expansion Vulnerability","description":"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.","status":"published","published":"2021-07-02T18:37:31Z","modified":"2024-11-19T18:32:33.859703Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"},{"version":"4.0","score":8.7,"vector":"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","level":"high"}],"cwes":["CWE-611","CWE-776"],"updated_at":"2026-11-02T15:46:48.191583Z"},{"id":"PYSEC-2021-349","description":"XXE vulnerability in 'XML2Dict' version 0.2.2 allows an attacker to cause a denial of service.","status":"published","published":"2021-06-30T12:15:00Z","modified":"2023-11-08T04:05:18.321407Z","updated_at":"2026-11-02T15:52:52.682031Z"}]}}
