Skip to content
OpenAdvisories

Weakness (CWE)

CWE-611: Improper Restriction of XML External Entity Reference

Base Draft

The product processes an XML document that can contain XML entities with URIs that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output.

How to prevent it (1 mitigation)
  1. Implementation, System Configuration

    Many XML parsers and validators can be configured to disable external entity expansion.

Source: MITRE CWE-611

942 results · Feed

  • High 8.8

    XXE vulnerability in Jenkins Checkstyle Plugin

    Jenkins Checkstyle Plugin 3.49 and earlier processes XML external entities in files it parses as part of the build process, allowing attackers with user permissions in Jenkins to extract secrets from the Jenkins master, perform server-side request forgery, or…

  • Unscored —

    A vulnerability in the Profile Editor of the Cisco AnyConnect Secure Mobility Client could allow an unauthenticated, lo…

  • Unscored —

    A vulnerability in Cisco WebEx Meetings Server could allow an unauthenticated, remote attacker to collect customer file…

  • High 7.5

    XXE Vulnerability in XMLBundle 0.1.7

    XMLBundle version 0.1.7 is vulnerable to XXE attacks which can result in denial of service attacks.

  • High 7.8

    Android SVG vulnerable to XML External Entity (XXE)

    AndroidSVG version 1.2.2 is vulnerable to XXE attacks in the SVG parsing component resulting in denial of service and possibly remote code execution

  • High 7.5

    Restlet Framework allows remote attackers to access arbitrary files via a crafted REST API HTTP request

    Restlet Framework before 2.3.12 allows remote attackers to access arbitrary files via a crafted REST API HTTP request that conducts an XXE attack, because only general external entities (not parameter external entities) are properly considered. This is relate…

  • High 7.5

    Restlet Framework Ja-rs extension is vulnerable to XXE when using SimpleXMLProvider

    Restlet Framework before 2.3.11, when using SimpleXMLProvider, allows remote attackers to access arbitrary files via an XXE attack in a REST API HTTP request. This affects use of the Jax-rs extension.

  • Critical 9.1

    SimpleXML has XML External Entity (XXE) vulnerability

    SimpleXML (latest version 2.7.1) is vulnerable to an XXE vulnerability resulting SSRF, information disclosure, DoS and so on.

  • High 8.8
    CVE-2017-9096 Public exploit

    Improper Restriction of XML External Entity Reference in iText

    The XML parsers in iText before 5.5.12 and 7.x before 7.0.3 do not disable external entities, which might allow remote attackers to conduct XML external entity (XXE) attacks via a crafted PDF.

  • Critical 9.8

    Apache ActiveMQ Apollo XXE Vulnerability

    XML external entity (XXE) vulnerability in Apache ActiveMQ Apollo 1.x before 1.7.1 allows remote consumers to have unspecified impact via vectors involving an XPath based selector when dequeuing XML messages.

  • Critical 9.8

    Improper Restriction of XML External Entity Reference in Apache ActiveMQ

    XML external entity (XXE) vulnerability in Apache ActiveMQ 5.x before 5.10.1 allows remote consumers to have unspecified impact via vectors involving an XPath based selector when dequeuing XML messages.

  • High 7.8

    Apache XML-RPC XXE Vulnerability

    XML external entity (XXE) vulnerability in the Apache XML-RPC (aka ws-xmlrpc) library 3.1.3, as used in Apache Archiva, allows remote attackers to conduct server-side request forgery (SSRF) attacks via a crafted DTD.

  • Critical 9.8
    CVE-2017-12629 Public exploit Scanner template EPSS 92%

    Remote code execution occurs in Apache Solr

    Remote code execution occurs in Apache Solr before 7.1 with Apache Lucene before 7.1 by exploiting XXE in conjunction with use of a Config API add-listener command to reach the RunExecutableListener class. Elasticsearch, although it uses Lucene, is NOT vulner…

  • Medium 5.5

    Umbraco CMS XXE Vulnerability

    XML external entity (XXE) vulnerability in Umbraco CMS before 7.7.3 allows attackers to obtain sensitive information by reading files on the server or sending TCP requests to intranet hosts (aka SSRF), related to Umbraco.Web/umbraco.presentation/umbraco/dialo…

  • Medium 6.5

    XML External Entity Reference in Apache NiFi

    An authorized user could upload a template which contained malicious code and accessed sensitive files via an XML External Entity (XXE) attack. The fix to properly handle XML External Entities was applied on the Apache NiFi 1.4.0 release. Users running a prio…

  • Critical 9.8

    Improper Restriction of XML External Entity Reference in Apache OpenNLP

    When loading models or dictionaries that contain XML it is possible to perform an XXE attack, since Apache OpenNLP is a library, this only affects applications that load models or dictionaries from untrusted sources. The versions 1.5.0 to 1.5.3, 1.6.0, 1.7.0 …

  • High 7.8

    Apache Tika does not properly initialize the XML parser or choose handlers

    Apache Tika before 1.13 does not properly initialize the XML parser or choose handlers, which might allow remote attackers to conduct XML External Entity (XXE) attacks via vectors involving (1) spreadsheets in OOXML files and (2) XMP metadata in PDF and other…

  • Critical 9.8

    Improper Restriction of XML External Entity Reference in Jelly

    During Jelly (xml) file parsing with Apache Xerces, if a custom doctype entity is declared with a "SYSTEM" entity with a URL and that entity is used in the body of the Jelly file, during parser instantiation the parser will attempt to connect to said URL. Thi…

  • High 7.5

    Improper Restriction of XML External Entity Reference in Apache CXF JAX-RS

    The JAX-RS module in Apache CXF prior to 3.0.12 and 3.1.x prior to 3.1.9 provides a number of Atom JAX-RS MessageBodyReaders. These readers use Apache Abdera Parser which expands XML entities by default which represents a major XXE risk.

  • Critical 9.8
    CVE-2016-6798 Public exploit

    XML External Entity Reference in Apache Sling

    In the XSS Protection API module before 1.0.12 in Apache Sling, the method XSS.getValidXML() uses an insecure SAX parser to validate the input string, which allows for XXE attacks in all scripts which use this method to validate user input, potentially allowi…

  • Critical 10.0

    Apache OpenMeetings does not correctly validate uploaded XML documents

    Uploaded XML documents were not correctly validated in Apache OpenMeetings 3.1.0.

  • High 8.8

    Improper Restriction of XML External Entity Reference in Spring Framework

    When processing user provided XML documents, the Spring Framework 4.0.0 to 4.0.4, 3.0.0 to 3.2.8, and possibly earlier unsupported versions did not disable by default the resolution of URI references in a DTD declaration. This enabled an XXE attack.

  • Unscored —

    An Improper XML Parser Configuration issue was discovered in Schneider Electric Wonderware Historian Client 2014 R2 SP1…

  • High 7.3

    Improper Restriction of XML External Entity Reference in Apache FOP

    In Apache FOP before 2.2, files lying on the filesystem of the server which uses FOP can be revealed to arbitrary users who send maliciously formed SVG files. The file types that can be shown depend on the user context in which the exploitable application is …

  • High 7.3

    Improper Restriction of XML External Entity Reference in Apache Batik

    In Apache Batik before 1.9, files lying on the filesystem of the server which uses batik can be revealed to arbitrary users who send maliciously formed SVG files. The file types that can be shown depend on the user context in which the exploitable application…

  • High 8.6

    jackson-dataformat-xml vulnerable to server side request forgery (SSRF)

    XmlMapper in the Jackson XML dataformat component (aka jackson-dataformat-xml) before 2.7.8 and 2.8.x before 2.8.4 allows remote attackers to conduct server-side request forgery (SSRF) attacks via vectors related to a DTD.

  • Medium 5.9

    Moderate severity vulnerability that affects org.apache.ignite:ignite-core

    Apache Ignite before 1.9 allows man-in-the-middle attackers to read arbitrary files via XXE in modified update-notifier documents.

  • High 7.5

    Pysaml2 does not sanitize XML responses

    XML External Entity (XXE) vulnerability in PySAML2 4.4.0 and earlier allows remote attackers to read arbitrary files via a crafted SAML XML request or response.

  • Critical 9.0

    PySAML2 XML external entity attack

    PySAML2 allows remote attackers to conduct XML external entity (XXE) attacks via a crafted SAML XML request or response.

  • High 8.2

    Improper Restriction of XML External Entity Reference in Openpyxl

    Openpyxl 2.4.1 resolves external entities by default, which allows remote attackers to conduct XXE attacks via a crafted .xlsx document.

  • High 8.8

    Improper Restriction of XML External Entity Reference in python-docx

    python-docx before 0.8.6 allows context-dependent attackers to conduct XML External Entity (XXE) attacks via a crafted document.

  • Medium 6.5
    CVE-2016-9563 Exploited EPSS 24%

    BC-BMT-BPM-DSK in SAP NetWeaver AS JAVA 7.5 allows remote authenticated users to conduct XML External Entity (XXE) atta…

    KEV Nov 3, 2021
  • Medium 5.5

    libxml2 2.9.4 and earlier, as used in XMLSec 1.2.23 and earlier and other products, does not offer a flag directly indi…

  • Critical 9.1
    CVE-2015-1832 EPSS 12%

    Improper Restriction of XML External Entity Reference in Apace Derby

    XML external entity (XXE) vulnerability in the SqlXmlUtil code in Apache Derby before 10.12.1.1, when a Java Security Manager is not in place, allows context-dependent attackers to read arbitrary files or cause a denial of service (resource consumption) via v…

  • Medium 5.5

    Apache POI's XLSX2CSV Example XML External Entity (XXE) Vulnerability

    The XLSX2CSV example in Apache POI before 3.14 allows remote attackers to read arbitrary files via a crafted OpenXML document containing an external entity declaration in conjunction with an entity reference, related to an XML External Entity (XXE) issue.

  • High 7.5

    Moderate severity vulnerability that affects com.adobe.xmp:xmpcore

    XMPCore in Adobe XMP Toolkit for Java before 5.1.3 allows remote attackers to read arbitrary files via XML data containing an external entity declaration in conjunction with an entity reference, related to an XML External Entity (XXE) issue.

  • Critical 9.8

    jackson-dataformat-xml vulnerable to XML external entity (XXE)

    XML external entity (XXE) vulnerability in XmlMapper in the Data format extension for Jackson (aka jackson-dataformat-xml) allows attackers to have unspecified impact via unknown vectors.

  • High 7.8

    High severity vulnerability that affects org.apache.pdfbox:pdfbox

    Apache PDFBox before 1.8.12 and 2.x before 2.0.1 does not properly initialize the XML parsers, which allows context-dependent attackers to conduct XML External Entity (XXE) attacks via a crafted PDF.

  • Medium —

    Jenkins has XML External Entity (XXE) Vulnerability in Job Configuration via CLI

    XML external entity (XXE) vulnerability in the create-job CLI command in Jenkins before 1.638 and LTS before 1.625.2 allows remote attackers to read arbitrary files via a crafted job configuration that is then used in an "XML-aware tool," as demonstrated by g…

  • Medium —
    CVE-2015-5161 Public exploit

    ZendXml and Zend Framework contain XXE and XEE Vulnerabilities

    The Zend_Xml_Security::scan in ZendXml before 1.0.1 and Zend Framework before 1.12.14, 2.x before 2.4.6, and 2.5.x before 2.5.2, when running under PHP-FPM in a threaded environment, allows remote attackers to bypass security checks and conduct XML external e…