appsec.fyi

XML External Entity Processing (XXE) Resources

Post Share

A curated AppSec resource library covering XSS, SQLi, SSRF, IDOR, RCE, XXE, OSINT, and more.

XML External Entity Processing (XXE)

An XML External Entity (XXE) attack is a type of attack against an application that parses XML input. It occurs when XML input containing a reference to an external entity is processed by a weakly configured XML parser, potentially leading to disclosure of confidential data, denial of service, server-side request forgery, and remote code execution.

XXE exploits a feature of the XML specification itself — the ability to define entities that reference external resources. When a parser resolves these entities, it can be tricked into reading local files (file:///etc/passwd), making HTTP requests to internal services, or exfiltrating data through out-of-band channels. Blind XXE variants use error-based or out-of-band techniques when direct output is not reflected to the attacker.

While XXE is often associated with SOAP APIs and legacy XML endpoints, it surfaces in unexpected places: file uploads (DOCX, XLSX, SVG are all XML-based), SAML authentication flows, RSS feed parsers, and configuration file processors. Any application that accepts XML input — even indirectly — may be vulnerable.

Prevention centers on disabling external entity resolution and DTD processing in XML parsers, but the configuration varies significantly across languages and libraries, making it a persistent source of vulnerabilities.

This page collects XXE research, exploitation techniques, parser-specific bypass methods, and real-world bug bounty writeups.

From OWASP

XXE is a parser default, not an application bug

What makes XXE unusual among injection classes is that the vulnerable code is frequently correct. A developer parses XML with the library's standard constructor, and the library — following a specification written when XML was expected to be a trusted document format — resolves external entities by default. Nothing in the application looks wrong. The bug is in what the parser was willing to do.

That framing explains both the distribution and the remediation. The distribution: XXE appears wherever XML is accepted, which is far more places than an XML API. SVG uploads, DOCX and XLSX files, SAML assertions, SOAP services, RSS ingestion, XML-RPC and configuration import features all parse XML, and most of them were never thought of as parsers by the people who built them. The remediation: you do not sanitize input, you disable external entity and DTD processing on the parser, and the exact incantation differs per language and library. Several entries here are essentially reference sheets for that, and they are worth keeping to hand.

The capability ladder runs from file read — /etc/passwd as the demonstration, application configuration and cloud credentials as the real prize — through SSRF, because an entity can reference a URL as easily as a path, and that makes XXE one of the cleanest routes to internal services and metadata endpoints. Denial of service via entity expansion is the classic billion-laughs case, and in a few parsers and protocol handlers the chain has reached code execution.

When output is not returned, blind XXE is where the technique gets interesting: an external DTD hosted by the attacker defines a parameter entity that embeds the target file into a URL the parser then requests, exfiltrating the contents through the error message or the request itself. The out-of-band material below is the part most worth reading closely, because it is what turns "the parser is misconfigured" into a demonstrable finding.

Start here: the XXE learning pathAn ordered route through this library — orientation, then methodology, then research. Read the XXE guideA long-form, source-cited deep dive synthesized from every resource below. The comprehensive XXE guide on chs.usA hand-written, in-depth practitioner guide — attacks, testing, and prevention. XXE on the appsec.fyi WikiInterlinked reference pages — techniques, variants, and defenses, one concept per page.
Date Added Link Excerpt
2026-11-27 NEW 2026CVE-2026-112181 and CVE-2026-112182: OpenKM Community Edition XXE/SSRF and missing authorization to RCE news AuthZ RCE SSRFCVE-2026-112181 and CVE-2026-112182 in OpenKM Community Edition allow any authenticated user, even with the lowest ROLE_USER privileges, to achieve remote code execution. These vulnerabilities, coordinated by INCIBE-CERT, involve XML External Entity (XXE) and Server-Side Request Forgery (SSRF) leading to missing authorization flaws.
2026-11-25 NEW 2026CVE-2026-129015: ReviewX (WordPress) XML external entity injection news 1 min readCVE-2026-129015 in ReviewX (WordPress) allows XML external entity injection, a high-severity vulnerability (CVSS 7.5) resulting from an improper restriction of XML external entity references. This weakness, identified as CWE-611, affects ReviewX versions up to and including 3.0.1 and enables XML entity linking.
2026-11-25 NEW 2026CVE-2026-134044: ROS 2 sros2 load_policy XXE information disclosure intermediateCVE-2026-134044 in Open Robotics ROS 2 allows remote attackers to disclose sensitive information via an XML External Entity (XXE) processing vulnerability in the `sros2 load_policy` functionality. Exploitation requires user interaction, such as visiting a malicious page or opening a crafted XML file, which leads the XML parser to access a specified URI and embed its contents. This could enable attackers to execute arbitrary code within the context of the current user.
2026-11-24 NEW 2026N-able takes cloud platform offline after 30+ zero-days published (unauth XXE chain) news 4 min read RCEN-able took its N-central cloud platform offline after security researcher Sean Bales publicly disclosed over 30 zero-day vulnerabilities, including a critical unauthenticated XXE chain leading to RCE and administrative takeover. The researcher's proof-of-concept exploits, published via a GitHub repository, detail vulnerabilities such as authentication bypasses, credential disclosure, arbitrary file writes, directory traversal, XSS, and XXE. N-able confirmed the incident and is developing a hotfix, while Bales stated his actions were a response to alleged unaddressed previous vulnerability reports. → bleepingcomputer.com
2026-11-24 NEW 2026CVE-2026-132241: XXE in JetBrains TeamCity .NET discovery newsA critical XXE vulnerability has been identified in JetBrains TeamCity, affecting versions prior to 2026.1.3 and 2025.11.7. This vulnerability allows for XML External Entity (XXE) injection during the auto-discovery process of .NET build steps. Exploiting this flaw could lead to unauthorized access or manipulation of internal resources. Users are strongly advised to update to the patched versions to mitigate this security risk. → rapid7.com
2026-11-24 NEW 2026N-able takes N-central offline as alleged zero-day exploits (Able2Shell XXE) surface news 3 min read RCEAnalysis of the "Able2Shell" disclosure details 33 alleged N-central vulnerabilities, including an unauthenticated XML External Entity (XXE) flaw capable of leading to Remote Code Execution (RCE). These vulnerabilities, if exploited, could allow attackers to gain administrative control of the N-central RMM platform, potentially leading to widespread compromise of managed systems through pre-existing trust relationships. This follows previous N-central vulnerabilities such as CVE-2026-18577, CVE-2026-86206, CVE-2026-86207, and CVE-2026-86218.
2026-11-24 NEW 2026IBM API Connect XXE (CVE-2026-17323) news API SecCVE-2026-17323 in IBM API Connect 12.1.0.0 through 12.1.1.2 enables remote attackers to obtain sensitive information via XML external entity (XXE) injection. Mitigation strategies include securing exposed services, restricting access with a WAF or IP allowlist, and monitoring vendor release channels, as no verified vendor patch is currently available.
2026-11-24 NEW 2026Dell PowerStore XML external entity (XXE) CVE-2026-82171 news 1 min readCVE-2026-82171 in Dell PowerStore 9200T involves an XML External Entity (XXE) Injection vulnerability. A high-privileged attacker exploiting this flaw could gain root-level compromise of the appliance and disclose sensitive files. The vulnerability has a CVSS v3.1 score of 8.0 (High) and has not been observed being exploited in the wild. This finding highlights a critical security weakness in the Dell PowerStore platform, underscoring the importance of robust XML parsing and input validation.
2026-11-23 NEW 2026Apache Camel CVE-2026-85250 news 1 min readCVE-2026-85250 in Apache Camel involves an XML external entity (XXE) processing vulnerability. When the `documentType` option was set to `InputSource`, an XPath engine bypassed Camel's default XML hardening by using JDK defaults, allowing a DOCTYPE declaration to resolve external entities. This could lead to attackers reading files accessible to the Camel process or forcing it to make outbound requests to arbitrary hosts. Deployments on camel-4.14.x should upgrade to 4.18.5 or later.
2026-11-23 NEW 2026Dataiku DSS: XXE allowing arbitrary file read (DSA-2026-022) newsAdvisory DSA-2026-022 details a high-severity XML External Entity (XXE) vulnerability in Dataiku DSS versions prior to 14.7.7 and between 15.0.0 and 15.2.2. This CWE-611 weakness, with a CVSS score of 8.8, allows authenticated attackers to read arbitrary files due to insufficient restriction of external XML entities. Patched versions 14.7.7 and 15.2.2 are available for remediation.
2026-11-23 NEW 2026Wowza: XXE allows reading local files news 1 min readCVE-2026-123029 in Wowza Streaming Engine (WSE) allows remote clients to exploit XXE to read local files with WSE process privileges, potentially exposing configuration files and credentials. This critical vulnerability affects WSE versions 4.12.1 and earlier, with the only complete fix being an upgrade to WSE 4.12.2 or later. Mitigation strategies include running WSE as unprivileged users, disabling remote shared objects, and tightening firewall rules, but these do not provide a full resolution.
2026-11-22 NEW 2026N-able vulnerability remediation update (N-central XXE fixes) news 5 min readN-central 2026.4 HF3 addresses multiple zero-day vulnerabilities, including CVE-2026-129271 (N-central Patch Management Local Privilege Escalation) and CVE-2026-12983 (N-central custom service import XML external entity injection), by strengthening authentication, hardening agent communication, and removing the Legacy API. This update remediates authenticated access vulnerabilities, agent impersonation risks, and various other CVEs such as CVE-2026-129272 (MMS3 appliance authentication bypass) and CVE-2026-129283 (N-central custom service import XML external entity injection), improving overall N-central security.
2026-11-22 NEW 2026SnapOtter: stored XXE/SSRF/XSS via SVG upload sanitization bypass intermediate 2 min read SSRF XSSStored XXE, SSRF, and XSS vulnerabilities exist in SnapOtter due to an SVG upload sanitization bypass. Both upload routes failed to sanitize SVGs after an image validator decoded them, allowing crafted SVGs with malicious DOCTYPE declarations to bypass sanitization and be stored with their original content intact. This could lead to stored XSS when viewers open the malicious SVG, and unauthenticated retrieval of uploaded files. The fix involves unconditionally sanitizing SVG uploads, stripping namespace-prefixed dangerous elements, and hardening SVG detection and DOCTYPE removal.
2026-11-22 NEW 2026Able2Shell FAQ: N-able N-central zero-days (XXE to RCE) news 10 min read RCEAble2Shell, a set of 33 alleged vulnerabilities in N-able N-central, has led to the release of two hotfixes addressing a total of 24 CVEs. These vulnerabilities include XML External Entity (XXE) injection and path traversal, with at least one exploit chain reported to require no credentials and allow for remote code execution. Exploitation attempts have been observed, with some instances leading to the installation of cryptocurrency miners on live N-central servers. → tenable.com
2026-11-21 2026Apache Roller: XXE in AtomPub Entry Parsing intermediate 4 min readCVE-2026-105153 in Apache Roller's AtomPub endpoint allows authenticated local file read and server-side request forgery due to incomplete XML parsing hardening. The vulnerability, present in versions prior to 6.1.7, resolves external parameter entities and DTD subsets despite blocking general entities, enabling out-of-band exfiltration. Crucially, the parsing occurred before permission checks and even when AtomPub was disabled, making any authenticated user capable of exploitation.
2026-11-20 2026Apache Axis2/Java XXE via imported WSDL/XSD (CVE-2026-120761) news 1 min readCVE-2026-120761 in Apache Axis2/Java allows XML External Entity (XXE) injection through imported WSDL/XSD documents. When Axis2 processes WSDL URLs, its XML parser improperly handles DOCTYPE declarations, enabling attackers to read local files or trigger network requests via crafted WSDL or imported XML documents. This vulnerability affects Apache Axis2/Java versions up to 2.0.1, with version 2.0.2 providing a fix.
2026-11-20 2026MailEnable XXE (CVE-2026-114552) with public exploit news 2 min readMailEnable XXE (CVE-2026-114552), a vulnerability allowing authenticated remote attackers to read sensitive files and network resources by crafting XML to bypass external entity resolution, now has a public proof-of-concept exploit available on GitHub. Attackers can leverage this flaw with a single request after gaining initial access, leading to potential disclosure of configuration files and credentials. Remediation requires immediate patching, credential revocation, blocking outbound XML entity resolution, auditing logs for XXE patterns, and restricting service account permissions.
2026-11-20 2026Telerik Reporting SVG processing XXE (CVE-2026-118975) news 2 min readCVE-2026-118975 in Progress® Telerik® Reporting versions prior to 20.3.26.1110 allows an authenticated user with low privileges to exploit improper restrictions during SVG processing to access sensitive information or resources. This vulnerability, classified as CWE-611, occurs when external XML entities within SVG content are resolved without proper validation, potentially enabling the reading of local files or network requests outside the intended security boundaries of the report rendering host. The issue is resolved in version 20.3.26.1110 and later.
2026-11-19 2026Blind XXE with Out-of-Band Interaction via XML Parameter Entities advanced 2 min read Bug BountyTechnique for detecting Blind XXE vulnerabilities using XML parameter entities and out-of-band interaction via Burp Collaborator. This method confirms XXE execution even when the application provides no direct response feedback, by observing DNS and HTTP callbacks triggered by attacker-controlled entities. The technique leverages parameter entities within the DTD to bypass common restrictions and highlights the importance of disabling DOCTYPE declarations and external entity resolution in XML parsers for remediation. → infosecwriteups.com
2026-11-18 2026Blind XXE with Out-of-Band (OOB) Interaction: A Beginner-Friendly Walkthrough beginner 2 min read BurpWalkthrough demonstrating Blind XXE with Out-of-Band (OOB) interaction, focusing on techniques for verifying vulnerabilities when direct output is not visible. This guide details how to leverage Burp Collaborator to detect XXE by observing DNS and HTTP callbacks to a controlled domain, a crucial step when standard XXE payloads fail to provide direct evidence. It also covers essential remediation steps like disabling DTDs and external entity processing in XML parsers to prevent such attacks. → infosecwriteups.com
2026-11-17 2026CVE-2026-112181: OpenKM CE XXE in FormUtils/LocalEntityResolver news 2 min readCVE-2026-112181, an Improper Restriction of XML External Entity Reference (XXE) vulnerability in OpenKM Community Edition's FormUtils/LocalEntityResolver, allows authenticated remote attackers to trigger HTTP requests (SSRF) and read local files. Exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190). Mitigations involve secure configuration settings to disable external entity processing and developer testing to discover XXE flaws.
2026-11-17 2026IBM ApplinX: Eclipse JAXB XXE (CVE-2026-92877) news 2 min readBulletin on CVE-2026-92877 details an improper restriction of XML external entity reference vulnerability impacting IBM ApplinX due to its use of vulnerable Eclipse JAXB jaxb-osgi and jaxb-core libraries. This CWE-611 vulnerability allows attackers to read local files via out-of-band XXE when untrusted XML is unmarshalled through JAXB, with affected versions of IBM ApplinX now updated to address the issue. → ibm.com
2026-11-17 2026CVE-2026-20320: Cisco BroadWorks XXE news 3 min readCVE-2026-20320 in Cisco BroadWorks allows unauthenticated, remote attackers to read sensitive configuration information by exploiting an improper restriction of XML external entity reference vulnerability. Attackers can send crafted XML messages to the Open Client Interface (OCI) XML Parser, causing it to resolve external entities and reveal sensitive files from the filesystem with the privileges of the Cisco BroadWorks user. This flaw is actively exploited and has been added to CISA's Known Exploited Vulnerabilities catalog.
2026-11-16 2026HTB: XO XO Exploit — XXE via a Validation-Loop Bypass intermediate 9 min readXXE vulnerability in HTB's XO XO Exploit web challenge, discovered via a validation-loop bypass, allows attackers to read arbitrary files. The challenge, featuring a song submission feature, constructs XML from user input, enabling XXE when an XML parser resolves external entities. A keyword blocklist designed to prevent XXE payloads is bypassed through a `splice()` off-by-one error in the validation loop, allowing malicious input to reach the XML sink. The exploit targets `/flag.txt` by crafting an external entity that redirects the song name to the flag's content.
2026-11-16 2026247CTF Meme Upload Service — Hand-Built Phar Meets XXE intermediate 5 min read Deser RCECVE-2026-XXXX in 247CTF's Meme Upload Service details a chained XXE and phar deserialization exploit against PHP 7.3. Attackers upload a specially crafted PHAR archive, disguised as a GIF and under 185 bytes, which bypasses image upload restrictions. This PHAR is then referenced as an external DTD in an XML message. PHP's `DOMDocument` with `LIBXML_DTDLOAD` resolves this DTD via the `phar://` wrapper, triggering PHAR metadata deserialization. A custom `Message` object's destructor then writes a PHP shell to the webroot, enabling code execution. The writeup emphasizes overcoming silent failures in such parser-level attacks through careful oracle-based discovery.
2026-11-15 2026Parsers should not fetch files: XXE hardening guide after Cisco BroadWorks exploitation (CVE-2026-20320) intermediate 6 min readXML external entity (XXE) vulnerabilities remain a persistent threat, as demonstrated by the recent exploitation of CVE-2026-20320 in Cisco BroadWorks. XXE flaws arise when XML parsers allow external entity resolution by default, enabling attackers to read local files, perform server-side request forgery, or exfiltrate data. This guide offers hardening techniques for various programming languages and emphasizes the importance of disabling DTDs and external entity loading. For unpatchable systems, architectural controls like network segmentation and egress filtering are crucial. Affected organizations should treat all secrets on compromised hosts as exposed and rotate credentials promptly.
2026-11-15 2026CVE-2026-125883: multiple XXE vulnerabilities in N-able N-central (CVSS 9.3) news 6 min readReference detailing CVE-2026-125883, a critical (CVSS 9.3) XXE vulnerability in N-able N-central versions prior to 26.4.1. This vulnerability, classified as XML Schema Poisoning (CAPEC-146) and CWE-611, allows for remote exploitation with no privileges required and no user interaction. The CISA ADP notes this vulnerability is known to be exploited, with available proof-of-concept exploits.
2026-11-14 2026From $1,000 to $10,000: How I Turned a "Limited" XXE Into a Critical Redis Session Store Exposure intermediate 5 min read Bug Bounty SSRFXXE vulnerability to Redis session store exposure, detailing the progression from an initial $1,000 bounty to $10,000 by escalating an XML External Entity injection to interact directly with an internal Redis instance, retrieve server information, and access session data.
2026-11-14 2026Exploiting XXE to Perform SSRF Attacks: A Step-by-Step Walkthrough intermediate 2 min read Burp SSRFWalkthrough of exploiting XML External Entity (XXE) to perform Server-Side Request Forgery (SSRF) attacks. This guide details how to manipulate an XML parser to leak cloud credentials from an internal EC2 metadata endpoint (http://169.254.169.254/), bypassing network restrictions. It demonstrates using Burp Suite's Repeater to intercept and modify requests, construct XXE payloads to query the metadata service, and progressively traverse directories to extract an IAM SecretAccessKey.
2026-11-13 2026Unauthenticated XXE in N-able N-central (CVE-2026-125883) news 1 min readUnauthenticated XML External Entity (XXE) injection in N-able N-central versions prior to 26.4.1 allows remote attackers to poison XML schemas and execute XXE attacks, impacting confidentiality and integrity. This vulnerability, disclosed as CVE-2026-125883 alongside six other flaws, enables attackers to fetch external entities, with proof-of-concept exploits published and observed in honeypots. N-able has released hotfix 26.4.1 to address this issue, recommending immediate upgrades and restricting internet access to the N-central web interface until patching.
2026-11-13 2026WordPress CVE-2021-29447: Exploiting XXE to Achieve Remote File Disclosure and Server Compromise intermediate 5 min readWordPress CVE-2021-29447, an XML External Entity (XXE) vulnerability, allows authenticated low-privileged users to upload a malicious WAV file to achieve remote file disclosure and server compromise. Attackers can exploit this to extract database credentials, crack WordPress user passwords, and ultimately gain a reverse shell for full system access.
2026-11-13 2026CISA KEV: Cisco BroadWorks XXE and Openwave flaws exploited news 5 min readCISA has added CVE-2026-20320 and CVE-2026-111793 to the Known Exploited Vulnerabilities catalog, confirming active exploitation of Cisco BroadWorks XXE and Openwave Webtop flaws by threat actors. The BroadWorks XXE vulnerability (CVE-2026-20320) was leveraged by an autonomous framework to steal the system identity private key, while the Openwave Webtop flaw (CVE-2026-111793) allowed authenticated users to process unintended document types. Attackers are exploiting these vulnerabilities in the wild, leading to significant credential theft and potential data exfiltration, underscoring the need for prompt patching and remediation beyond simply applying vendor fixes.
2026-11-12 2026XXE as a DAST finding: in-band, error-based and out-of-band confirmation intermediate 21 min readReference detailing XXE confirmation techniques for Dynamic Application Security Testing (DAST) findings. It explains XML entities, DTDs, CWE-611, and categorizes evidence into in-band, error-based, and out-of-band confirmation. The analysis covers parser configurations, potential hiding places for XML, file disclosure channels, false positives/negatives, parser hardening, and provides a triage checklist, referencing specific formats like SOAP, SAML, SVG, and Office Open XML, along with parsers such as lxml, expat, and Node.js XML libraries.
2026-11-10 2026XXE injection: how it works and how to fix it beginner 8 min readXXE (XML External Entity) injection occurs when an application's XML parser processes untrusted input containing a Document Type Definition (DTD) that fetches external entities, leading to local file disclosure, server-side request forgery (SSRF), denial of service, and potential code execution. The primary fix involves disabling DTDs or at least external entities in XML parsers. This vulnerability, tracked as CWE-611 and formerly an OWASP Top 10 item, often hides in SOAP APIs, SAML, file uploads (DOCX, XLSX, PPTX, SVG), and REST endpoints accepting XML. Prevention requires secure parser configurations, such as disabling DTDs and external entities in Java, .NET, Python, and PHP, and treating common file formats as XML input.
2026-11-10 2026Meters Flag: Flagyard challenge writeup (XXE) intermediate 2 min readXXE vulnerability exploitation in the Flagyard "Meters Flag" challenge bypasses WAF protections by utilizing UTF-16 encoding to bypass checks for UTF-8 and UTF-7, allowing the extraction of sensitive files like `/etc/passwd` and the flag from `app/flag.txt` by leveraging XML External Entities.
2026-11-09 2026I used an XML parser to steal an SSH private key: Mustacchio (TryHackMe) beginner 5 min readXXE injection on a barber shop-themed TryHackMe box allowed for reading the SSH private key of user Barry, which was then cracked using John the Ripper to gain SSH access. A SUID binary's reliance on a relative path for the `tail` command enabled a PATH hijack, leading to root privileges by executing a malicious `tail` binary that spawned a SUID bash shell.
2026-11-07 2026How a dead-end XXE turned into AWS credential theft intermediate 7 min read SecretsTechnique demonstrating how a verbose XML parser error message can be leveraged for exfiltration, bypassing standard XXE detection and egress filtering. This method uses a file:// URI within an external entity to cause a parser error, embedding file contents like /etc/passwd, configuration files, and ultimately live AWS instance-role credentials into the error message itself, requiring no out-of-band infrastructure.
2026-11-07 2026ZDI-26-864 Quest Foglight getSource XXE (unauthenticated) newsAdvisory for ZDI-26-864 details an unauthenticated XML External Entity (XXE) vulnerability in Quest Foglight for Databases. This flaw, residing within the `getSource` method, enables remote attackers to trigger arbitrary server-side requests and disclose information by exploiting improper restrictions on XML external entity references, allowing the XML parser to embed URI contents back into the document. The vulnerability affects versions prior to Foglight 8.3. → zerodayinitiative.com
2026-11-06 2026CVE-2026-92185: Quest Foglight for Databases XXE news 2 min readCVE-2026-92185 in Quest Foglight for Databases AbstractParser enables remote attackers to disclose sensitive information through XML External Entity (XXE) processing. This unauthenticated vulnerability allows a crafted document to trick the XML parser into accessing a specified URI, embedding its contents back into the document for further processing. Attackers can exploit this to reveal information within the SYSTEM context. No fix has been published, and exploitation has not been reported.
2026-11-06 2026CVE-2026-13289: XXE in IBM MQ exposes sensitive data news 3 min readCVE-2026-13289 in IBM MQ allows remote attackers with low-privileged accounts to exploit XML external entity injection (XXE), classified as CWE-611. This vulnerability enables the exposure of sensitive data by referencing local files or internal server resources, or can lead to memory resource consumption through entity expansion. The CVSS 3.1 rating of 7.1 HIGH highlights the significant confidentiality risk, with network accessibility and limited preconditions for exploitation. → insightcve.com
2026-11-06 2026CVE-2026-66089: XXE vulnerability advisory news 4 min readAdvisory for CVE-2026-66089 detailing an XML External Entity (XXE) vulnerability in the SOAP interface of openEQUELLA before 2026.1. This vulnerability allows for external entity expansion, enabling attackers to read arbitrary files accessible to the service or conduct server-side request forgery (SSRF) attacks. Exploitation requires network access, low privileges, and no user interaction. No public exploit code is currently tracked, and a fix is not yet available.
2026-11-06 2026Symfony Config XmlUtils::parse XXE via validateOnParse intermediate 2 min readSymfony Config XMLUtils::parse XXE local file read in versions <5.4.56, >=6 <6.4.50, >=7 <7.4.23, >=8 <8.1.11 allows remote attackers to read local files or exfiltrate data via network-capable stream wrappers. This vulnerability arises because `$dom->validateOnParse` is set to `true` before `loadXML()`, enabling libxml to process doctypes and resolve external entities, including `file://` wrappers, before validation rejects the doctype. The issue is fixed in patched Symfony Config versions.
2026-11-06 2026XXE: reading server files with XML external entities beginner 3 min readTechnique for exploiting XXE vulnerabilities by leveraging XML external entities to read server files. This method targets applications processing XML, including those with `Content-Type: application/xml` or `text/xml`, SOAP APIs, and even JSON endpoints that accept XML. It details methods for reading sensitive files like `/etc/passwd` and configuration files, using `php://filter` for base64 encoding to handle special characters. The technique also covers blind XXE for exfiltration over the network and XInclude for scenarios where direct DOCTYPE manipulation isn't possible, noting its applicability to SVG and Office document uploads.
2026-11-06 2026XXE case study: hidden vulnerability in an XML import intermediate 9 min readXXE vulnerability in an XML import feature was uncovered by crafting a specific XML document, leveraging the application's own XML export to match the expected structure and exploiting the audit log to reveal file contents like `/etc/passwd` after a generic error response.
2026-11-06 2026XXE to steal SSH private key (Mustacchio THM) intermediate 5 min readXXE to steal SSH private key vulnerability on the Mustacchio TryHackMe box allows an attacker to extract an SSH private key and achieve root access. The attack chain begins with discovering an exposed SQLite database, then exploiting an XXE injection vulnerability in an XML parser to read server files, including the SSH private key. After cracking the key's passphrase, the attacker gains user-level access and then leverages a PATH hijack via a SUID binary to escalate privileges to root.
2026-11-01 2026PortSwigger Lab: Exploiting XXE Using External Entities to Retrieve Files intermediate 1 min read BurpWalkthrough demonstrating an XXE vulnerability exploitation using external entities to retrieve files. The process involves intercepting a POST request in Burp Suite, identifying the XML data format, and then crafting a malicious XML payload with a defined external entity pointing to `/etc/passwd`. By replacing the `productId` parameter with the defined entity `&xxe;`, the server's XML parser retrieves and returns the file's content, successfully demonstrating the XXE vulnerability.
2026-11-01 2026TryHackMe XXE Injection: File Read, SSRF, and Exfiltration intermediate 4 min read SSRFXXE Injection on TryHackMe's EasyShare app demonstrates file reads, SSRF, and exfiltration. This vulnerability, stemming from untrusted input to an XML parser, allows attackers to craft external entities to access server-side files, forge HTTP requests to internal resources, and exfiltrate data out-of-band. The room details how to leverage DOM parsers with entity loading enabled, utilize `file://` and `php://filter` for file retrieval, and exploit attacker-hosted DTDs for blind exfiltration, ultimately highlighting the importance of disabling external entity loading in XML parsers for mitigation. → classroom.anir0y.in
2026-10-31 2026Exploiting Blind XXE to Exfiltrate Data via a Malicious External DTD intermediate 4 min read BurpTechnique for blind XXE exfiltration using a malicious external DTD. This method leverages a controllable exploit server to host the DTD, which then calls out to Burp Collaborator with file contents encoded in a URL query string. The technique chains parameter entities to read arbitrary files like `/etc/hostname` and send them out-of-band, bypassing egress filters and remaining entirely blind to the target application's response. Remediation involves disabling DTDs or external entity fetching within the XML parser.
2026-10-31 2026ZDI-26-811 MailEnable parseObjectResponse XXE newsAdvisory ZDI-26-811 details a MailEnable parseObjectResponse XML External Entity (XXE) processing vulnerability. This flaw, exploitable by authenticated remote attackers, allows disclosure of sensitive information within the service account context due to improper restriction of XXE references. The vulnerability is fixed in version 10.60. → zerodayinitiative.com
2026-10-31 2026Exploiting XXE to Perform SSRF intermediate 4 min read SSRFExploiting XXE to perform SSRF allows attackers to force a server to make HTTP requests to arbitrary targets, leveraging XML parsers as HTTP clients. By targeting the instance metadata service at `http://169.254.169.254/` on cloud VMs, specifically AWS, this technique can exfiltrate temporary IAM credentials. This is achieved by navigating the metadata service's hierarchical structure, with each segment appended to the URL and its response reflected in error messages, enabling access to sensitive information and potential cloud account compromise.

Frequently Asked Questions

What is an XXE attack?
An XML External Entity attack exploits XML parsers that process external entity references. By defining a malicious entity (e.g., referencing file:///etc/passwd), an attacker can read local files, perform SSRF, or cause denial of service through entity expansion (billion laughs attack).
Where do XXE vulnerabilities appear besides XML APIs?
XXE can appear in file uploads (DOCX, XLSX, SVG, and PDF files are XML-based), SAML authentication flows, RSS/Atom feed parsers, SOAP web services, and any application that processes XML configuration files — even if it does not explicitly accept XML input.
How do you prevent XXE?
Disable external entity resolution and DTD processing in your XML parser. The exact configuration varies by language: in Java, set disallow-doctype-decl; in Python, use defusedxml; in PHP, use libxml_disable_entity_loader. Where possible, use simpler data formats like JSON instead of XML.