{"id":"CVE-2020-5227","published":"2020-01-28T22:40:14Z","modified":"2024-08-04T08:22:08Z","title":"Feedgen Vulnerable to XML Denial of Service Attacks","vendor":"lkiesow","product":"python-feedgen","tier":"tail","description":{"text":"Feedgen (python feedgen) before 0.9.0 is susceptible to XML Denial of Service attacks. The *feedgen* library allows supplying XML as content for some of the available fields. This XML will be parsed and integrated into the existing XML tree. During this process, feedgen is vulnerable to XML Denial of Service Attacks (e.g. XML Bomb). This becomes a concern in particular if feedgen is used to include content from untrused sources and if XML (including XHTML) is directly included instead of providing plain tex content only. This problem has been fixed in feedgen 0.9.0 which disallows XML entity expansion and external resources.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02182,"percentile":0.82811,"provenance":"source"},"cwes":[{"id":"CWE-776","name":"Improper Restriction of Recursive Entity References in DTDs"}],"references":[{"url":"https://github.com/lkiesow/python-feedgen/security/advisories/GHSA-g8q7-xv52-hf9f","tags":["x_refsource_CONFIRM"]},{"url":"https://docs.microsoft.com/en-us/archive/msdn-magazine/2009/november/xml-denial-of-service-attacks-and-defenses","tags":["x_refsource_MISC"]},{"url":"https://github.com/lkiesow/python-feedgen/commit/f57a01b20fa4aaaeccfa417f28e66b4084b9d0cf","tags":["x_refsource_MISC"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/T6I5ENUYGFNMIH6ZQ62FZ6VU2WD3SIOI/","tags":["vendor-advisory","x_refsource_FEDORA"]}],"priority":{"score":19.6,"factors":[{"name":"EPSS percentile","points":16.56},{"name":"CVSS severity","points":3.08}]},"vendorSlug":"lkiesow","affectedVersions":[{"vendor":"lkiesow","product":"python-feedgen","versions":["< 0.9.0"]}],"affected":[{"ecosystem":"PyPI","package":"feedgen","vulnerableRanges":["<0.9.0"],"patched":["0.9.0"],"from":["GHSA-g8q7-xv52-hf9f","PYSEC-2020-231"],"provenance":"source"}],"summary":{"text":"The python-feedgen library (lkiesow's Feedgen, before 0.9.0) is vulnerable to XML entity expansion when XML or XHTML supplied as field content is parsed and merged into its output tree. An attacker who can get crafted XML into content from an untrusted source, such as an XML bomb, can cause a denial of service, and this is most relevant where the application passes raw XML rather than plain text into feedgen.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:33:43Z"},"euvd":{"id":"EUVD-2020-0079","exploited":false,"provenance":"source"}}