{"api_version":"1","generated_at":"2026-07-23T12:30:28+00:00","cve":"CVE-2020-5227","urls":{"html":"https://cve.report/CVE-2020-5227","api":"https://cve.report/api/cve/CVE-2020-5227.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2020-5227","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2020-5227"},"summary":{"title":"CVE-2020-5227","description":"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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2020-01-28 23:15:00","updated_at":"2023-11-07 03:23:00"},"problem_types":["CWE-776"],"metrics":[],"references":[{"url":"https://github.com/lkiesow/python-feedgen/security/advisories/GHSA-g8q7-xv52-hf9f","name":"https://github.com/lkiesow/python-feedgen/security/advisories/GHSA-g8q7-xv52-hf9f","refsource":"CONFIRM","tags":["Third Party Advisory"],"title":"Feedgen Vulnerable Against XML Denial of Service Attacks · Advisory · lkiesow/python-feedgen · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/T6I5ENUYGFNMIH6ZQ62FZ6VU2WD3SIOI/","name":"FEDORA-2020-8493201e90","refsource":"","tags":[],"title":"[SECURITY] Fedora 31 Update: python-feedgen-0.9.0-1.fc31 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://docs.microsoft.com/en-us/archive/msdn-magazine/2009/november/xml-denial-of-service-attacks-and-defenses","name":"https://docs.microsoft.com/en-us/archive/msdn-magazine/2009/november/xml-denial-of-service-attacks-and-defenses","refsource":"MISC","tags":["Exploit","Patch","Third Party Advisory","Vendor Advisory"],"title":"XML Denial of Service Attacks and Defenses | Microsoft Docs","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/lkiesow/python-feedgen/commit/f57a01b20fa4aaaeccfa417f28e66b4084b9d0cf","name":"https://github.com/lkiesow/python-feedgen/commit/f57a01b20fa4aaaeccfa417f28e66b4084b9d0cf","refsource":"MISC","tags":["Patch"],"title":"Merge pull request from GHSA-g8q7-xv52-hf9f · lkiesow/python-feedgen@f57a01b · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/T6I5ENUYGFNMIH6ZQ62FZ6VU2WD3SIOI/","name":"FEDORA-2020-8493201e90","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 31 Update: python-feedgen-0.9.0-1.fc31 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-5227","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-5227","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2020","cve_id":"5227","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"feedgen_project","cpe5":"feedgen","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"python","cpe12":"*","cpe13":"*"},{"cve_year":"2020","cve_id":"5227","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"feedgen_project","cpe5":"feedgen","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"python","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2020-5227","qid":"983088","title":"Python (pip) Security Update for feedgen (GHSA-g8q7-xv52-hf9f)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2020-5227","STATE":"PUBLIC","TITLE":"Feedgen Vulnerable to XML Denial of Service Attacks"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"python-feedgen","version":{"version_data":[{"version_value":"< 0.9.0"}]}}]},"vendor_name":"lkiesow"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":4.4,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"HIGH","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-776: Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion')"}]}]},"references":{"reference_data":[{"name":"https://github.com/lkiesow/python-feedgen/security/advisories/GHSA-g8q7-xv52-hf9f","refsource":"CONFIRM","url":"https://github.com/lkiesow/python-feedgen/security/advisories/GHSA-g8q7-xv52-hf9f"},{"name":"https://docs.microsoft.com/en-us/archive/msdn-magazine/2009/november/xml-denial-of-service-attacks-and-defenses","refsource":"MISC","url":"https://docs.microsoft.com/en-us/archive/msdn-magazine/2009/november/xml-denial-of-service-attacks-and-defenses"},{"name":"https://github.com/lkiesow/python-feedgen/commit/f57a01b20fa4aaaeccfa417f28e66b4084b9d0cf","refsource":"MISC","url":"https://github.com/lkiesow/python-feedgen/commit/f57a01b20fa4aaaeccfa417f28e66b4084b9d0cf"},{"refsource":"FEDORA","name":"FEDORA-2020-8493201e90","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/T6I5ENUYGFNMIH6ZQ62FZ6VU2WD3SIOI/"}]},"source":{"advisory":"GHSA-g8q7-xv52-hf9f","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2020-01-28 23:15:00","lastModifiedDate":"2023-11-07 03:23:00","problem_types":["CWE-776"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:N/I:N/A:P","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"PARTIAL","baseScore":5},"severity":"MEDIUM","exploitabilityScore":10,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:feedgen_project:feedgen:*:*:*:*:*:python:*:*","versionEndExcluding":"0.9.0","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2020","CveId":"5227","Ordinal":"165441","Title":"CVE-2020-5227","CVE":"CVE-2020-5227","Year":"2020"},"notes":[{"CveYear":"2020","CveId":"5227","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2020","CveId":"5227","Ordinal":"2","NoteData":"2020-01-28","Type":"Other","Title":"Published"},{"CveYear":"2020","CveId":"5227","Ordinal":"3","NoteData":"2020-02-07","Type":"Other","Title":"Modified"}]}}}