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.
Date Added Link Excerpt
2026-11-10 NEW 2026Apache Axis XXE advisory newsApache Axis has released an advisory concerning an XML External Entity (XXE) vulnerability. The vulnerability, identified as Improper Restriction of XML External Entity Reference, allows for the disclosure of sensitive information. Affected versions of Apache Axis are listed in the advisory. Users are strongly advised to upgrade to the patched versions to mitigate this security risk.
2026-11-10 NEW 2026XXE in XML parsers processing update manifests / network responses intermediateThis report details a vulnerability found in XML parsers that handle update manifests and network responses. Attackers can exploit XML External Entity (XXE) flaws in these parsers to gain unauthorized access to sensitive information. The XXE vulnerability arises when the XML parser processes untrusted XML data, allowing it to access local files or internal network resources. This could lead to data breaches or further compromise of the system.
2026-11-10 NEW 2026XXE injection: how it works and how to fix it beginnerXXE (XML external entity) injection is a vulnerability that allows attackers to exploit XML parsers to access sensitive data. It works by tricking the parser into processing malicious external entities, potentially exposing internal files and network resources. The article details how XXE vulnerabilities manifest, the risks they pose, and methods for mitigation. It also outlines testing procedures for identifying these flaws, with the potential to earn up to $5,200 for identified issues.
2026-11-10 NEW 2026SAP BusinessObjects BI Platform (Web Intelligence) XXE (critical) newsA critical XXE vulnerability has been identified in SAP BusinessObjects BI Platform's Web Intelligence component. This vulnerability allows unauthenticated attackers to read arbitrary files on the server, potentially leading to remote code execution. The issue arises from improper handling of XML external entities. SAP has released security notes and patches to address this critical flaw. Users are strongly advised to update their systems promptly to mitigate the risk of exploitation.
2026-11-10 NEW 2026Meters Flag: Flagyard challenge writeup (XXE) intermediateThis writeup details the solution for the "Meters Flag" web challenge from the Flagyard CTF. The challenge involves exploiting an XML External Entity (XXE) vulnerability to gain unauthorized access and retrieve the flag. The author explains the steps taken to identify and leverage the XXE flaw, ultimately leading to the successful completion of the challenge.
2026-11-09 NEW 2026JetBrains IntelliJ IDEA XXE via XML response (before 2026.3) newsJetBrains IntelliJ IDEA versions prior to 2026.3 are vulnerable to XML External Entity (XXE) injection. This vulnerability allows for unauthorized access or modification of sensitive information. Users are advised to update to version 2026.3 or later to patch this security flaw.
2026-11-09 NEW 2026IBM DataStage on Cloud Pak for Data 5.4 XXE newsIBM DataStage on Cloud Pak for Data 5.4.0.0 is vulnerable to XML External Entity (XXE) injection. This vulnerability allows an authenticated attacker with low privileges to execute arbitrary code or access sensitive information on the system. The issue arises from improper XML parsing. Further details about the impact and mitigation are available in the security bulletin.
2026-11-09 NEW 2026IBM API Connect 12.1 XXE (critical) news API SecIBM API Connect versions 12.1.0.0 through 12.1.1.2 are vulnerable to an XML External Entity (XXE) injection, classified as critical. This vulnerability allows an attacker to access unauthorized information. The specific impact and potential exploitation details are not fully disclosed in this excerpt.
2026-11-09 NEW 2026I used an XML parser to steal an SSH private key: Mustacchio (TryHackMe) beginner 5 min read BurpLibrary for demonstrating chained exploitation techniques including XXE to read SSH private keys, password cracking with Hashcat and John the Ripper, and SUID exploitation via PATH hijacking. This walkthrough details how an exposed SQLite database, an XML parser vulnerable to XXE, and a SUID binary calling system utilities by name can be chained to achieve root on the Mustacchio TryHackMe box.
2026-11-08 NEW 2026JetBrains PhpStorm XXE in untrusted projects via PHPMD rulesets newsJetBrains PhpStorm versions prior to 2026.3 are vulnerable to XXE (XML External Entity) injection attacks. This vulnerability can be exploited within untrusted projects by malicious PHPMD rulesets. Attackers can leverage this to read sensitive files on the system. A bug bounty of $5,000 was awarded for reporting this issue. Users are advised to update to version 2026.3 or later to mitigate this risk.
2026-11-08 NEW 2026IBM MQ XXE information disclosure newsIBM MQ versions 9.2.0.0-9.2.0.44 LTS and 9.3.0.0 onwards are vulnerable to an XML External Entity (XXE) information disclosure. This vulnerability allows an attacker to access sensitive files on the system by exploiting the MQ's XML parser. The issue arises when MQ processes specially crafted XML messages containing XXE payloads. Users are advised to update to patched versions of IBM MQ to mitigate this security risk.
2026-11-08 NEW 2026IBM API Connect XXE information disclosure news API SecIBM API Connect versions 12.1.0.0 through 12.1.1.2 are vulnerable to an XXE (XML External Entity) information disclosure vulnerability. This flaw allows attackers to access sensitive information by exploiting how the software processes XML input. Further details on the affected versions and the potential impact of this vulnerability are provided in the content.
2026-11-08 NEW 2026Wowza Streaming Engine before 4.12.2 processes XML external entities newsWowza Streaming Engine versions prior to 4.12.2 are vulnerable to XML External Entity (XXE) attacks. This flaw allows attackers to exploit how the software processes XML data, potentially leading to unauthorized access to sensitive information or denial-of-service conditions. Users are strongly advised to upgrade to version 4.12.2 or later to patch this vulnerability and secure their streaming infrastructure.
2026-11-08 NEW 2026Apache OFBiz ContentWorker XXE before 24.09.08 newsLibrary for Apache OFBiz ContentWorker, versions before 24.09.08, vulnerable to XML External Entity (XXE) Injection. An authenticated attacker with content-author permission can read arbitrary server files and perform Server-Side Request Forgery (SSRF) by storing crafted text/xml DataResources. The vulnerability stems from FreeMarker's default NodeModel.parse DocumentBuilderFactory which fails to enable secure processing or external entity/DTD restrictions, allowing crafted XML to be parsed and external entities to be resolved. Upgrade to version 24.09.08 to mitigate this issue.
2026-11-07 NEW 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 NEW 2026Quest Foglight AbstractParser XXE (CVE-2026-92185) newsLibrary abstract parser vulnerability, CVE-2026-92185, in Quest Foglight for Databases allows unauthenticated remote attackers to disclose sensitive information via crafted XML documents exploiting improper restriction of XML External Entity (XXE) references. The flaw in the AbstractParser class enables attackers to access URIs and embed their contents back into the XML for processing, leading to information disclosure in the context of SYSTEM. This was also identified as ZDI-CAN-28929.
2026-11-07 NEW 2026Nokogiri JRuby SSRF when resolving external DTDs with NONET intermediate SSRFAdvisory for GHSA-v995-44v6-5fqm: A Server-Side Request Forgery (SSRF) vulnerability exists in Nokogiri when used with JRuby and specific XML parsing options (`NONET`, `DTDLOAD`, `DTDVALID`, or `NOENT`). This allows untrusted XML documents to trigger network requests when resolving external DTDs or entities using malformed IPv4 host identifiers or absolute paths, particularly when parsing from network URLs. The issue is mitigated by upgrading to Nokogiri 1.19.5 or later or avoiding these parsing options for untrusted input.
2026-11-07 NEW 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-07 NEW 2026MailEnable parseObjectResponse XXE (CVE-2026-114552) newsLibrary for identifying XML External Entity (XXE) processing vulnerabilities, specifically detailing the MailEnable parseObjectResponse flaw (CVE-2026-114552). This vulnerability allows authenticated remote attackers to disclose sensitive information by exploiting insufficient restrictions on XML External Entity references within the parseObjectResponse method, potentially leading to information disclosure in the context of the service account.
2026-11-06 NEW 2026CVE-2026-92185: Quest Foglight for Databases XXE news 2 min readWriteup of CVE-2026-92185, an XML External Entity Processing (XXE) vulnerability in Quest Foglight for Databases' AbstractParser. This flaw allows unauthenticated remote attackers to disclose sensitive information in the context of SYSTEM by leveraging improper restriction of XML External Entity references within crafted XML documents. No exploitation has been reported, and no fix is currently available.
2026-11-06 NEW 2026CVE-2026-13289: XXE in IBM MQ exposes sensitive data newsIBM MQ versions 9.2 LTS through 10.0 LTS/CD are susceptible to an XML External Entity (XXE) injection vulnerability (CWE-611). This flaw allows remote attackers to potentially access sensitive data by exploiting how the software processes XML. → insightcve.com
2026-11-06 NEW 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 NEW 2026Symfony Config XmlUtils::parse XXE via validateOnParse intermediate 2 min readLibrary analyzing CVE-2026-45071 in Symfony Config versions before 5.4.56, 6.4.50, 7.4.23, and 8.1.11, which allows XXE via `validateOnParse = true`. This setting enables libxml to process doctypes, resolving `file://` entities before validation, potentially leading to local file reads or exfiltration via custom stream wrappers like `s3://`. The vulnerability is fixed by removing the `validateOnParse` flag, which was unnecessary and caused spurious errors.
2026-11-06 NEW 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 NEW 2026XXE case study: hidden vulnerability in an XML import intermediate 9 min readWriteup detailing an XXE vulnerability discovered in an XML file upload feature. The article explains how an attacker can abuse external entity resolution in XML parsers to read local files, like `/etc/passwd`, or send network requests. The exploit leveraged the application's own XML export to understand expected input structure and the audit log for detailed error messages, ultimately demonstrating file system mapping capabilities.
2026-11-06 NEW 2026XXE to steal SSH private key (Mustacchio THM) intermediate 5 min read BurpWriteup detailing an XXE injection vulnerability on the TryHackMe Mustacchio box. This attackchain begins by discovering an exposed SQLite database and cracking an admin SHA1 hash. A subsequent Nmap scan reveals an admin panel on port 8765, where an XML parser susceptible to XXE is found. Exploiting this vulnerability allows for Local File Inclusion, reading Barry's SSH private key, and ultimately gaining SSH access as the user 'barry'. The path into root is then achieved via a SUID binary that executes a utility with a PATH hijack.
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 SSRFWriteup detailing XXE Injection within the TryHackMe EasyShare file-sharing app. The entry covers exploiting XML parsers to perform in-band file reads, out-of-band exfiltration via attacker-hosted DTDs, and Server-Side Request Forgery (SSRF) to scan internal ports, referencing specific PHP functions like `libxml_disable_entity_loader` and `DOMDocument`. Mitigation strategies, including disabling external entity loading and DTDs, are also discussed.
2026-11-01 2026PhpSpreadsheet XmlScanner bypass via ISO-2022 escapes allows XXE intermediate 3 min readLibrary with a vulnerability in its `XmlScanner::scan()` method that bypasses XML External Entity (XXE) and Denial of Service (DoS) protections. By interleaving ISO-2022 escape sequences within the `<!DOCTYPE` declaration, attackers can trick the scanner into allowing XXE and SSRF on PHP versions prior to 8.0, or DoS via quadratic entity expansion on all PHP versions. Applications processing user-uploaded XLSX files using PhpSpreadsheet are affected, with a small malicious file causing significant memory amplification.
2026-11-01 2026openEQUELLA XXE in SOAP interface intermediate 2 min readLibrary for detecting XML External Entity (XXE) vulnerabilities in the openEQUELLA SOAP interface. Versions prior to 2026.1.0 are susceptible to unauthenticated remote attackers who can read files, conduct server-side request forgery (SSRF), or degrade availability through crafted XML documents parsed before authentication. The patch hardens the XML parser, disables the SOAP API by default, and advises restricting access if enabled.
2026-11-01 2026PhpSpreadsheet XmlScanner bypass via double-encoded unentity() TOCTOU allows XXE intermediate 3 min readLibrary advisory detailing a Time-of-Check to Time-of-Use (TOCTOU) vulnerability in PhpSpreadsheet's `XmlScanner` that allows for XML External Entity (XXE) injection and Denial of Service. The bypass occurs due to double-encoded entities, like `&#60;`, being decoded twice by `html_entity_decode()` across two scan passes. This enables entity expansion, potentially leading to XXE/SSRF on PHP versions prior to 8.0 or when `LIBXML_NOENT` is active, and denial of service in all PHP versions.
2026-11-01 2026Tandoor Recipes XXE local file read via lxml and SSRF in importer intermediate 1 min read Python SSRFLibrary vulnerability report detailing XXE local file read flaws in the Tandoor Recipes import subsystem. Exploiting XML importers utilizing lxml's default parser with `file://` entities allows access to sensitive files like `.env` credentials. Additionally, the pestle importer contains an SSRF vulnerability in its request handling, a regression from a previous fix (GHSA-j6xg-85mh-qqf7), enabling unauthorized network requests by the application.
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 Burp SSRFLibrary for exploiting XML External Entity (XXE) vulnerabilities to achieve Server-Side Request Forgery (SSRF), specifically targeting AWS's Instance Metadata Service (IMDS) at `http://169.254.169.254/`. This technique allows attackers to retrieve temporary IAM credentials by walking the metadata tree segment by segment through reflected error messages. The resource details the attack chain, its real-world implications for cloud compromise, and remediation steps like disabling DTDs and utilizing IMDSv2.
2026-10-31 2026openEQUELLA XXE in metadata field allows arbitrary file read news 2 min readAdvisory on GHSA-668q-3hpr-6c96 details an XML External Entity (XXE) injection vulnerability in openEQUELLA versions prior to 2026.1.0. This flaw permits authenticated users with item creation/editing privileges to read arbitrary files accessible by the service and trigger server-side requests to attacker-controlled locations, including cloud instance metadata services. The vulnerability is fixed in openEQUELLA 2026.1.0 by rejecting XML documents containing DOCTYPE declarations.
2026-09-02 2026GeoNetwork - Pre-Auth RCE via Unauthenticated File Upload and Unsafe XSLT Processor (4 CVEs, 121 government deployments, all patched) news 5 min read RCELibrary for analyzing GeoNetwork, a widely used open-source geospatial metadata catalog, uncovering four vulnerabilities: CVE-2026-63219 (unauthenticated file upload), CVE-2026-55864 (SSRF via SLD tool), CVE-2026-57582 (reflected XSS), and CVE-2026-58400 (RCE via unsafe Saxon XSLT processor). The library details how these issues allow unauthenticated attackers to achieve RCE by chaining the file upload with the XSLT processor, impacting over 121 government deployments globally.
2026-08-17 2026Hacking Millions of Modems (and Investigating Who Hacked My Modem) advanced 24 min read SSRFWriteup detailing an investigation into unexpected HTTP traffic replay, tracing it to a compromised Cox Panoramic Wifi gateway modem. The investigation identified a DigitalOcean IP address previously used for phishing sites like `isglatam.online` and `isglatam.tk`, and mail server domains, suggesting a multi-year malicious campaign. Replacing the modem resolved the issue, leaving the specific compromise method on the modem unexamined. → samcurry.net
2026-07-07 2026The File That Answered Back — XXE Hidden in Cell A2 intermediate 10 min readWriteup detailing an XML External Entity (XXE) vulnerability discovered in an Excel file upload endpoint. The exploit bypasses Imperva WAF rules by hiding the `DOCTYPE` declaration within the XML structure of an `.xlsx` file, which is essentially a ZIP archive containing XML documents. The writeup explains how to manually construct a valid XLSX file with a malicious XML parser instruction to read server-side files, ultimately returning sensitive data within the application's JSON response. → infosecwriteups.com
2026-06-30 2026Cracked it! Highlights from KringleCon 5: Golden Rings news 10 min readLibrary of challenges and solutions from KringleCon 5, including breaking out of Docker containers, exploiting a GitLab CI/CD pipeline with leaked SSH keys, performing XML External Entity attacks, and hacking a smart contract to acquire an NFT. The challenges involve analyzing PowerShell logs, writing Suricata rules to detect Dridex, and using Wireshark to inspect network traffic, offering practical experience with various application security techniques.
2026-06-17 2026Rapid7 Analysis: CVE-2022-28219 news 8 min readAnalysis of CVE-2022-28219 details a Java deserialization vulnerability in ManageEngine ADAudit Plus, which, when combined with a blind XXE vulnerability, allows for remote code execution as the service user. The Java deserialization flaw is found in the `/cewolf` endpoint's `img` parameter, permitting path traversal to deserialize arbitrary files. The secondary blind XXE vulnerability in the `/api/agent/tabs/agentData` endpoint can be leveraged to plant files, including serialized Java objects from ysoserial payloads, enabling RCE. This analysis was performed on build 7055, with fixes available in build 7060. → rapid7.com
2026-06-11 2026Pre-auth XXE → HTTP SSRF on ArubaOS 8.13.2 closed as "theoretical / no valid PoC" despite TCP pcap, sshd localhost log, and internal port scan — documenting for community review advanced 2 min read SSRFWriteup detailing pre-authentication XXE leading to Out-of-Band (OOB) SSRF on ArubaOS 8.13.2.0. This vulnerability allows attackers to force outbound HTTP connections, probe internal network services, and resolve external DTDs, evidenced by packet captures, daemon logs, and internal port scans. Despite this proof, the submission was closed by HPE Networking as "theoretical / no valid PoC" on Bugcrowd.
2026-05-06 2026CISA flags data-theft bug in NSA-built OT networking tool news 3 min readTool: CISA alert highlights a data-theft vulnerability in an NSA-developed operational technology networking tool. The advisory flags a critical flaw impacting the secure management of industrial control systems. → theregister.com
2026-04-30 2026CISA flags data-theft bug in NSA-built OT networking tool news 3 min readReport on a data-theft vulnerability in an NSA-developed operational technology networking tool, highlighting CISA's alert. The article mentions concerns around AI agents straining memory hierarchies and potential supply chain attacks via AI agent skills. It also touches on the cost-efficiency of AI agents using APIs versus visual interaction, and a workaround for Claude's commercial software limitations. → theregister.com
2026-04-22 2026GeoServer 2025 XXE Vulnerability (CVE-2025-58360) Explained newsGeoServer 2025 XXE Vulnerability (CVE-2025-58360) Explained
2026-04-22 2026Critical Apache Tika Vulnerability Leads to XXE Injection news 1 min readWriteup of CVE-2025-66516, a critical XXE injection vulnerability in Apache Tika, affecting tika-core, tika-pdf-module, and tika-parsers. Attackers can exploit this flaw via crafted XFA files within PDFs, potentially leading to information leaks, SSRF, DoS, or RCE. This issue expands the scope of a previous vulnerability, CVE-2025-54988. Patches are available in tika-core 3.2.2, tika-parser-pdf-module 3.2.2, and tika-parsers 2.0.0. → securityweek.com
2026-04-22 2026CVE-2025-30220: GeoServer WFS Service XML External Entity news 1 min readWriteup on CVE-2025-30220 in GeoServer's WFS service details an XML External Entity (XXE) vulnerability. This allows unauthenticated remote attackers to exfiltrate arbitrary local files, leading to information disclosure and enabling Server-Side Request Forgery (SSRF). The vulnerability bypasses GeoServer's allowlist by exploiting how the GeoTools library processes XSD Schema representations.
2026-04-22 2026CVE-2025-27136: LocalS3 CreateBucketConfiguration XXE Injection news 2 min readWriteup of CVE-2025-27136, an XML External Entity (XXE) injection vulnerability in LocalS3's CreateBucketConfiguration endpoint, allowing attackers to read sensitive files. The flaw arises from an insecure XML parser that doesn't disable external entity resolution. Exploitation involves crafting a malicious XML payload with a `<!DOCTYPE>` declaration and `file://` URI to retrieve files like `/etc/passwd`. Mitigation requires updating LocalS3 or securing XML parser configurations to disable external entity resolution.
2026-04-22 2026CVE-2024-30043: Exploiting XXE on SharePoint via Confused URL Parsing (PoC) intermediateCVE-2024-30043: Exploiting XXE on SharePoint via Confused URL Parsing (PoC)
2026-04-22 2026CVE-2025-66516: Detecting and Defending Against Apache Tika XXE newsCVE-2025-66516: Detecting and Defending Against Apache Tika XXE → akamai.com

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.

Weekly AppSec Digest

Get new resources delivered every Monday.