{"id":"CVE-2021-25951","aliases":["CVE-2021-25951","GHSA-gp6m-vqhm-5cm5","PYSEC-2021-349"],"related":[],"kind":"vulnerability","state":"published","title":"XML2Dict XML Entity Expansion Vulnerability","summary":"XXE vulnerability in 'XML2Dict' version 0.2.2 allows an attacker to cause a denial of service.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"XXE vulnerability in 'XML2Dict' version 0.2.2 allows an attacker to cause a denial of service.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Una vulnerabilidad de tipo XXE en \"XML2Dict\" versión 0.2.2, permite a un atacante causar una denegación de servicio","source":"nvd"}],"published":"2021-06-30T11:42:24.000Z","modified":"2026-06-17T03:42:39.847Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","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","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","score":5,"rating":"MEDIUM"}],"cwes":["CWE-611","CWE-776"],"affected":[{"ranges":[{"version":"0.2.2","status":"affected"}],"product":"XML2Dict","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"0.2.2"}],"ecosystem":"PyPI","package":"xml2dict","purl":"pkg:pypi/xml2dict","source":"ghsa"},{"ranges":[{"status":"affected","version":"0.2.2"}],"vendor":"xml2dict_project","product":"xml2dict","cpe":"cpe:2.3:a:xml2dict_project:xml2dict:0.2.2:*:*:*:*:python:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected"}],"ecosystem":"PyPI","package":"xml2dict","purl":"pkg:pypi/xml2dict","source":"pysec"}],"references":[{"url":"https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25951","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-25951","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/mcspring/XML2Dict/tree/master","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/mcspring/xml2dict","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/xml2dict/PYSEC-2021-349.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://pypi.org/project/XML2Dict","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-gp6m-vqhm-5cm5","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"Mend","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-25951","url":"https://www.cve.org/CVERecord?id=CVE-2021-25951","licence":"CVE Terms of Use","modified":"2024-08-03T20:19:18.944Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-gp6m-vqhm-5cm5","url":"https://github.com/advisories/GHSA-gp6m-vqhm-5cm5","licence":"CC-BY-4.0","modified":"2024-11-19T18:32:33.859Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-25951","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-25951","licence":"Public domain","modified":"2026-06-17T03:42:39.847Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2021-349","url":"https://osv.dev/vulnerability/PYSEC-2021-349","licence":"CC-BY-4.0","modified":"2023-11-08T04:05:18.321Z"}],"updatedAt":"2026-11-25T22:58:02.390Z","epss":{"score":0.01172,"percentile":0.68342,"date":"2026-12-01T12:00:22.000Z"}}