expat 2.1.0 and earlier does not properly handle entities...
Moderate severity
Unreviewed
Published
May 5, 2022
to the GitHub Advisory Database
•
Updated Oct 14, 2026
Description
Published by the National Vulnerability Database
Jan 21, 2014
Published to the GitHub Advisory Database
May 5, 2022
Last updated
Oct 14, 2026
expat 2.1.0 and earlier does not properly handle entities expansion unless an application developer uses the XML_SetEntityDeclHandler function, which allows remote attackers to cause a denial of service (resource consumption), send HTTP requests to intranet servers, or read arbitrary files via a crafted XML document, aka an XML External Entity (XXE) issue. NOTE: it could be argued that because expat already provides the ability to disable external entity expansion, the responsibility for resolving this issue lies with application developers; according to this argument, this entry should be REJECTed, and each affected application would need its own CVE.
References