CVE-2017-9096: XXE in iText XML Parsers (pre-5.5.12, pre-7.0.3)
- Vendor
- Itextpdf
The XML parsers used in iText versions prior to 5.5.12 and 7.x prior to 7.0.3 do not have external entity processing disabled. This allows attackers to exploit XML External Entity (XXE) vulnerabilities by submitting crafted PDF files containing malicious XML. The vulnerable code path is triggered when iText parses XML content embedded in or referenced by a PDF, allowing the attacker to influence the XML parser's behavior.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation of this vulnerability allows remote attackers to perform XXE attacks, which can lead to disclosure of local files, server-side request forgery (SSRF), or potentially remote code execution, depending on the XML parser configuration and the environment in which iText is used.
Mitigation
If you can’t patch tonight, do this now.
If upgrading is not immediately possible, ensure that XML parsing in iText is performed with external entity resolution disabled. This can often be achieved by configuring the XML parser factory to disallow external entities, or by using a secure XML parser implementation.
Remediation
Patch, then assume compromise.
Upgrade iText to version 5.5.12 or later, or 7.0.3 or later, where the XML parsers are properly configured to disable external entity processing and prevent XXE attacks.
Exploits
1 exploit validated by Mallory's analysis.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2017-9096 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2017-9096 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2017-9096?
- Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2017-9096, the earliest disclosed May 18, 2022.
- Is there a patch for CVE-2017-9096?
- Upgrade iText to version 5.5.12 or later, or 7.0.3 or later, where the XML parsers are properly configured to disable external entity processing and prevent XXE attacks.
- What products are affected by CVE-2017-9096?
- Itextpdf Itext.
- How severe is CVE-2017-9096?
- CVE-2017-9096 has a CVSS v3 score of 8.8 (High) and an EPSS score of 9.6% (96th percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.