XXE in Feedgen Project
CVE-2020-5227
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.4 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.022, 82.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Feedgen Project
- Lkiesow Python-Feedgen — versions < 0.9.0
Weakness classification (CWE)
References
- github.com/lkiesow/python-feedgen/security/advisories/GHSA-g8q7-xv52-hf9f (Third Party Advisory)
- docs.microsoft.com/en-us/archive/msdn-magazine/2009/november/xml-denial-of-serv… (Exploit, Patch, Third Party Advisory, Vendor Advisory)
- github.com/lkiesow/python-feedgen/commit/f57a01b20fa4aaaeccfa417f28e66b4084b9d0… (Patch)
- FEDORA-2020-8493201e90 (vendor-advisory)