appsec.fyi › XML External Entity Processing (XXE)

XML External Entity Processing (XXE) Resources

Page 3 of 3: resources 101–130 of 130, added Jan 2017 to Apr 2026.

The newest XML External Entity Processing (XXE) resources are on the XML External Entity Processing (XXE) page. For a reading order instead of a date order, see the XML External Entity Processing (XXE) learning path.

Date AddedLinkExcerpt
2026-04-03 2026XML External Entity (XXE) Attack Guide | Hackviser beginner 7 min readGuide to XML External Entity (XXE) attacks, detailing manual testing techniques for identifying vulnerabilities in various XML inputs, including file uploads and SOAP requests. It covers exploitation methods such as local file disclosure, server-side request forgery (SSRF) via HTTP callbacks and PHP wrappers, denial of service attacks like the "Billion Laughs" attack, and automated discovery using tools like Burp Suite, XXEinjector, and Nuclei.
2026-04-03 2026What is a Blind XXE Attack? | PortSwigger beginner 7 min readReference detailing techniques for finding and exploiting blind XXE vulnerabilities. It describes how these attacks, where the application doesn't return entity values directly, can be overcome using out-of-band (OAST) methods to detect them or by triggering XML parsing errors that exfiltrate sensitive data from files like `/etc/passwd` via HTTP requests or error messages. The guide also covers using XML parameter entities and repurposing local DTDs for exploitation. → portswigger.net
2025-08-14 2025Exploiting XXE for SSRF. Retrieving IAM credentials of EC2… | by Gupta Bles intermediate SSRFThe content discusses exploiting XML External Entity (XXE) vulnerabilities to achieve Server-Side Request Forgery (SSRF) attacks. Specifically, it focuses on retrieving IAM credentials of EC2 instances. The author, Gupta Bles, likely provides insights into how attackers can leverage XXE vulnerabilities to manipulate XML input and trigger SSRF to access sensitive information like IAM credentials. This practice highlights the importance of securing systems against XXE vulnerabilities to prevent unauthorized access to critical data.
2025-08-14 2025XXE how to become a jedi beginnerThe content discusses how to become a "Jedi" in the context of XXE (XML External Entity) attacks. It covers the basics of XXE attacks, their impact, and how to prevent them. The presentation outlines steps to become proficient in identifying and mitigating XXE vulnerabilities, emphasizing the importance of understanding XML parsing and secure coding practices. It also provides practical examples and resources for further learning. Overall, the content aims to educate individuals on the risks associated with XXE attacks and empower them to enhance their cybersecurity skills in this area. → slideshare.net
2025-08-14 2025Hunting in the Dark - Blind XXE intermediate 11 min readBlind XXE attacks exploit XML parsers that do not return data directly. By manipulating the `Content-Type` header on a JSON endpoint to `application/xml`, this technique identifies an XML processing vulnerability. Error messages reveal the presence of XXE, enabling port scanning via Server Side Request Forgery (SSRF) to discover open ports on the backend system.
2025-08-14 2025GDS - Blog - Automated Data Exfiltration with XXE intermediateThe content appears to be a blog post from GDS discussing automated data exfiltration using XXE (XML External Entity) attacks. XXE attacks involve exploiting vulnerabilities in XML parsers to access sensitive data. This blog post likely delves into the technical details of how XXE attacks can be automated to extract data from a system. It may provide insights on the risks associated with XXE attacks and how organizations can protect themselves from such threats.
2025-08-14 2025Advice From A Researcher: Hunting XXE For Fun and Profit intermediateXXE (XML External Entity) injection is a critical vulnerability, often taking months to find during traditional pen testing but minutes to exploit. This entry offers insights into hunting XXE, drawing parallels to strategic thinking like in chess and emphasizing the need for continuous, preemptive security approaches rather than reactive measures. The advice encourages proactive security development and robust API security.
2025-08-14 2025Tool for automatic exploitation of XXE vulnerability using direct and diffe intermediate 3 min readTool for automating XXE exploitation, XXEinjector supports both direct and out-of-band retrieval of files. It facilitates directory listing specifically for Java applications, and employs bruteforcing for others. Key features include out-of-band methods (FTP, HTTP, Gopher), direct exploitation with custom marks, and advanced techniques like CDATA for direct exploitation, PHP filters for base64 encoding, and Windows hash retrieval. XXEinjector can also upload files via Java JAR schema, execute system commands with PHP expect, and test for XSLT injection.
2025-08-14 2025h3xStream's blog: Identifying Xml eXternal Entity vulnerability (XXE) beginner 4 min readXML External Entity (XXE) vulnerability identification and exploitation methodology is detailed, focusing on GPX file upload functionality. This method confirms entity interpretation, tests SYSTEM entities for external resource loading via HTTP, and leverages external DTDs for data exfiltration. It also demonstrates using the gopher protocol for more robust data exfiltration, particularly on older Java versions, and outlines mitigation steps.
2025-08-14 202510 Types of Web Vulnerabilities that are Often Missed - Detectify Labs beginner 16 min read SSRF XSSHTTP/2 smuggling leverages HTTP header parsing discrepancies between HTTP/2 and HTTP/1.1 to manipulate backend requests, enabling attackers to cause request desynchronization and serve attacker-controlled responses. XXE vulnerabilities are exploitable via Office Open XML parsers within applications that process documents like .docx, .pptx, and .xlsx by crafting malicious OOXML files with embedded XXE payloads. SSRF vulnerabilities can be triggered in PDF generators by injecting JavaScript into HTML content; when rendered into a PDF, this JavaScript can access internal resources or cloud metadata endpoints. XSS via SVG file uploads remains a common vulnerability despite its age, particularly in applications that allow image uploads. → labs.detectify.com
2025-08-14 2025Awesome Bug Bounty Tools beginner 27 min read Bug Bounty ReconLibrary of curated bug bounty tools, featuring extensive lists for subdomain enumeration with tools like Subfinder, Findomain, and massdns, alongside port scanning utilities such as Nmap, RustScan, and naabu. It also includes web screenshotting and fingerprinting tools like EyeWitness, gowitness, and whatweb, as well as content discovery tools like gobuster and feroxbuster, covering vulnerabilities such as XSS, SQL Injection, and Directory Traversal.
2025-08-14 2025Burp Suite for Pentester: HackBar intermediate 9 min read Burp XSSHackbar is a Java-based Burp Suite plugin designed to accelerate manual penetration testing by providing pre-defined payload dictionaries for common vulnerabilities. It assists testers in efficiently injecting payloads for SQL Injection, Cross-Site Scripting, Local File Inclusion, XXE Injection, and OS Command Injection, among others, by integrating directly with Burp Suite's Repeater and Proxy tabs. Installation involves downloading a JAR file from GitHub and loading it as a Java extension within Burp Suite's Extender tab.
2025-08-14 2025Advanced XXE Exploitation beginner 14 min readWorkshop slides detailing XML External Entity (XXE) exploitation techniques for PHP and Java applications. This resource covers identifying XXE vulnerabilities and converting them into directory listing, file exfiltration, file write, and remote code execution via classic XML patterns, out-of-band DTD techniques, and FTP/Gopher protocols. It includes four lab applications, sample payloads, and Docker recipes for deployment.
2025-08-14 2025XXE-study/xxe.php at master · HLOverflow/XXE-study intermediateThe content refers to a file named "xxe.php" within the "XXE-study" repository on GitHub owned by "HLOverflow." This file is located in the "master" branch of the repository. The term "XXE" likely stands for XML External Entity, a type of security vulnerability.
2025-08-14 2025XXE - XEE - XML External Entity - HackTricks beginner 20 min readXML External Entity (XXE) vulnerabilities arise when XML parsers incorrectly handle external data sources, allowing attackers to exploit entities for various malicious purposes. Techniques for detecting and exploiting XXE include using parameter entities for out-of-band detection, such as triggering DNS lookups or HTTP requests to a controlled domain. Attackers can craft payloads to read local files like `/etc/passwd`, abuse server-side request forgery (SSRF) to interact with cloud metadata endpoints, or exfiltrate data via HTTP requests by embedding malicious DTDs on attacker-controlled servers. Some methods leverage error messages to reveal file contents. → book.hacktricks.xyz
2025-08-14 2025Spilling Local Files via XXE When HTTP OOB Fails intermediate 5 min readXXE exploitation techniques for local file exfiltration, particularly when HTTP Out-of-Band (OOB) is blocked, are detailed. This method involves leveraging existing local DTD files on the server to overwrite parameter entities, allowing for the injection and retrieval of sensitive file contents. The technique includes bypassing Web Application Firewalls (WAFs), using verbose error messages for data reflection, and employing the `jar` protocol to read files within archives like JARs. The discussion also references tools like `dtd-finder` for locating exploitable DTDs.
2025-08-14 2025XML External Entity Prevention · OWASP Cheat Sheet Series beginner 19 min readXML External Entity (XXE) injection, a vulnerability within the OWASP Top 10, targets applications that parse XML input by exploiting weakly configured parsers to reference external entities, potentially leading to denial of service, Server Side Request Forgery (SSRF), and other system impacts. This cheat sheet provides guidance on preventing XXE by disabling DTDs (External Entities) entirely through parser-specific features like `factory.setFeature("http://apache.org/xml/features/disallow-doctype-decl", true)`, and details hardening rules for various languages and parsers. → cheatsheetseries.owasp.org
2025-08-14 2025What is XXE (XML external entity) injection? Tutorial & Examples | Web Security Academy beginner 7 min readXML external entity (XXE) injection is a web security vulnerability allowing attackers to interfere with an application's XML data processing. This can lead to viewing files on the server filesystem, interacting with back-end systems, and escalating to server-side request forgery (SSRF) or blind XXE attacks. XXE vulnerabilities arise when standard XML parsers process potentially dangerous XML features, such as external entities that load values from file paths or URLs. Attackers can exploit this by defining external entities pointing to sensitive files or internal URLs, or by using techniques like XInclude attacks within file uploads. → portswigger.net
2025-08-14 2025From blind XXE to root-level file read access – Honoki advanced 10 min readBlind XXE exploitation allows root-level file read access by leveraging XML parser error messages. This technique was used to determine file existence and probe internal network services, ultimately revealing that internal HTTP requests were permitted, transforming a seemingly medium-criticality vulnerability into a significant finding.
2025-08-14 2025XXE - XML External Entity Attack beginnerXXE, or XML External Entity Attack, is a type of security vulnerability where an attacker can exploit the processing of XML data by including external entities that can disclose confidential information, execute remote code, or cause a denial of service. This attack can occur when an application processes XML input without proper validation and allows external entities to be included. Preventing XXE attacks involves disabling external entity processing, using whitelists for allowed entities, and validating input data to ensure it does not contain malicious XML entities. → slideshare.net
2025-08-14 2025XXE at Bol.com – Jonathan Bouman – Medium intermediate 7 min readXML External Entity (XXE) vulnerabilities, capable of leading to Local File Inclusion (LFI) and Remote Code Execution (RCE), are demonstrated through a practical attack against Bol.com's seller portal. By manipulating XLSX files, which are zip archives containing XML, an attacker can inject malicious XML to exfiltrate server files. The technique involves creating custom XML entities within the spreadsheet's XML structure and then using tools like XXEserv to capture leaked data by referencing external DTDs over HTTP or FTP.
2024-11-10 2024GitHub - whitel1st/docem: A tool to embed XXE and XSS payloads in docx, odt, pptx, xlsx files (oxml_xxe on steroids) intermediate 3 min read XSSTool for embedding XXE and XSS payloads into document formats like DOCX, ODT, and PPTX. This utility operates by identifying "magic symbols" within sample documents and replacing them with specified payloads. It offers flexible payload injection modes, allowing for placement per document, per file, or per specific location, and supports custom payload files for both XXE and XSS vulnerabilities. Docem aims to improve upon the usability of tools like oxml_xxe for large-scale payload generation.
2024-09-21 2024XXE : From Zero to Hero beginner 14 min readXML External Entity (XXE) vulnerabilities arise when applications improperly process external entities in XML data, enabling attackers to read sensitive files, perform Server-Side Request Forgery (SSRF) attacks, or exfiltrate data via out-of-band requests. This technique exploits how XML parsers handle DTDs and entities, allowing for the inclusion of external resources or local files by defining a `SYSTEM` entity in a DTD. → infosecwriteups.com
2023-08-19 2023XXExploiter intermediate 3 min readTool for generating XML payloads and serving DTDs for XML External Entity (XXE) injection attacks. XXExploiter supports various modes including XML, Out-of-Band (OOB), and CDATA extraction, with options for command execution via PHP's expect, data exfiltration, and fuzzing specific parameters using wordlists. It can automatically start a server for OOB data transfer and also acts as a client to send XML files and retrieve responses.
2022-08-10 2022How to Protect Text Input from XML External Entity (XXE) Attacks using Pyth intermediate 1 min read PythonXXE Detection API for Python identifies XML External Entity attacks in text input by analyzing serialized data. This library helps prevent attacks that can infect files and compromise internal systems by providing a simple boolean response indicating the presence of a threat, allowing for timely isolation and elimination.
2021-05-18 2021If you find powerful OXML XXE tool? it’s “DOCEM” intermediate 3 min read Bug BountyDOCEM is a powerful Python tool for injecting XXE and XSS payloads into Office Open XML (OXML) document formats like DOCX, ODT, and PPTX. It simplifies the process of creating malicious OXML files, offering various options for payload placement and mode, and provides straightforward installation via git clone and pip.
2021-05-04 2021XXE : From Zero to Hero beginnerThis content, "XXE: From Zero to Hero," likely explores the topic of XML External Entity (XXE) vulnerabilities. It probably guides readers from a foundational understanding of XXE to mastering its exploitation and defense. The content could cover how XXE flaws arise from improper XML parsing, their potential impacts (like data exfiltration or denial-of-service), and techniques for identifying and mitigating these vulnerabilities.
2021-01-20 2021XXE attacks 😈 beginnerVarious file formats such as PDF, Excel, SVG, and ebooks utilize XML and can be susceptible to XXE (XML External Entity) attacks. These attacks involve exploiting vulnerabilities in XML parsers to access sensitive data or execute malicious actions. It is crucial for developers and users to be aware of the risks associated with XXE attacks and implement proper security measures to prevent unauthorized access to data.
2018-09-13 2018XXE - Things Are Getting Out of Band intermediate 7 min readTechnique detailing out-of-band XXE attacks, leveraging FTP and HTTP handlers for blind exfiltration of sensitive data like `/etc/passwd`. The technique applies to vulnerable Java versions (<1.7 and sometimes >1.7) and can extend to ASP.NET applications for potential RCE via web shell downloads.
2017-01-31 2017BuffaloWill/oxml_xxe: A tool for embedding XXE/XML exploits into different intermediateTool for embedding XXE/XML exploits into various OXML document file formats including DOCX, XLSX, PPTX, ODT, ODG, ODP, ODS, and SVG. Developed in Ruby using Sinatra, Bootstrap, and Slim, this application facilitates testing XXE vulnerabilities in file upload functionalities, referencing techniques discussed in the BH USA 2015 presentation.