CVE-2019-12415 — poi
MEDIUMCVE-2019-12415 is a medium-severity (CVSS 5.5) XML External Entity (XXE) vulnerability in org.apache.poi:poi. 2 public exploit or proof-of-concept references are indexed, so weaponization risk is real. A fix is available for org.apache.poi:poi — see the affected versions and patch details below.
Improper Restriction of XML External Entity Reference in Apache POI
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
org.apache.poi:poiReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
In Apache POI up to 4.1.0, when using the tool XSSFExportToXml to convert user-provided Microsoft Excel documents, a specially crafted document can allow an attacker to read files from the local filesystem or from internal network resources via XML External Entity (XXE) Processing.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.apache.poi:poi | all versions | 4.1.1org.apache.poi:poi:4.1.1 |
Affected Products
poiapacheapplication testing suiteoraclebanking enterprise originationsoraclebanking enterprise product manufacturingoraclebanking paymentsoraclebanking platformoracleResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.apache.poi:poi, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.apache.poi:poi to 4.1.1 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2019-12415 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
The vulnerability is in the XSSFExportToXml util; avoid usage of this tool to mitigate the vulnerability.Source: Red Hat security advisory for CVE-2019-12415 (CC BY 4.0)
| Product | Fixed in | Advisory |
|---|---|---|
| Red Hat Fuse 7.10 | poi | RHSA-2021:5134 |
Frequently Asked Questions
Is CVE-2019-12415 in your dependencies?
Find it across Maven, including transitive dependencies.