Missing XML Validation in Apache Tomcat
Apache Tomcat before 6.0.40, 7.x before 7.0.54, and 8.x before 8.0.6 does not properly constrain the class loader that accesses the XML parser used with an XSLT stylesheet, which allows remote attackers to (1) read arbitrary files via a crafted web application that provides an XML external entity declaration in conjunction with an entity reference, related to an XML External Entity (XXE) issue, or (2) read files associated with different web applications on a single Tomcat instance via a crafted web application.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.apache.tomcat:tomcat | < 6.0.40, >= 7.0.0, < 7.0.54, >= 8.0.0, < 8.0.6 | 6.0.40, 7.0.54, 8.0.6 |
| Java / Kotlin (Maven) | org.apache.tomcat:tomcat-catalina | < 6.0.40, >= 7.0.0, < 7.0.54, >= 8.0.0, < 8.0.6 | 6.0.40, 7.0.54, 8.0.6 |
| Java / Kotlin (Maven) | org.apache.tomcat:tomcat-jasper | < 6.0.40, >= 7.0.0, < 7.0.54, >= 8.0.0, < 8.0.6 | 6.0.40, 7.0.54, 8.0.6 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2014-0119
- https://github.com/apache/tomcat80/commit/d59fd4398c8ae6361e0b13c491f66b51e49a7441
- https://github.com/apache/tomcat80/commit/7d33457de5fc5a652a88fb9bbc9ba4cbbda58f04
- https://github.com/apache/tomcat80/commit/77e014cef5d5af619bcf77eaebf22c284d420802
- https://github.com/apache/tomcat80/commit/69a8a72283c3395ece8b899cf8562e126de97a27
- https://github.com/apache/tomcat80/commit/51e59532ad4c604f55575963dc7a7f0250cb420f
- https://github.com/apache/tomcat80/commit/4d90e355dc5ced4c53585c2b4700f71a52d8f447
- https://github.com/apache/tomcat80/commit/25251de791a6a7be13f2f3d3a66119a77025272d
- https://github.com/apache/tomcat/commit/f8b316acbbf9fabf87cc137e9777e912eda0d834
- https://github.com/apache/tomcat/commit/ebe5c16f18ce1559e8462a94b3876a98525980d2
- https://github.com/apache/tomcat/commit/080878ea519d8c74c53721a9ebf7be6fcf6f1f2f
- https://github.com/apache/tomcat/commit/50311bed8d87e452ff0e69838ba312c4fe899b2d
- https://github.com/apache/tomcat/commit/5517c5517e8a7ddb994504f0c5c05001a376b10c
- https://github.com/apache/tomcat/commit/5aae1323c31d643afa9f2db80713b8e97b5123af
- https://github.com/apache/tomcat/commit/6246d8307fb5f2b4ff0b0f4d6d1b0250dff01a81
- https://github.com/apache/tomcat/commit/769477b9bc8442db3f571385fa0c3e206242cbf1
- https://github.com/apache/tomcat/commit/934f884f330dad192d2c5dc950e28f4cd281461b
- https://github.com/apache/tomcat/commit/ad3b34a290a0255d2a4c356a3611ab41ed9d04f5
- https://github.com/apache/tomcat/commit/ce70ee6b8fe437a498a375215011056702b0c481
- https://github.com/apache/tomcat
- https://lists.apache.org/thread.html/r9136ff5b13e4f1941360b5a309efee2c114a14855578c3a2cbe5d19c@%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/r9136ff5b13e4f1941360b5a309efee2c114a14855578c3a2cbe5d19c%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/r587e50b86c1a96ee301f751d50294072d142fd6dc08a8987ae9f3a9b@%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/r587e50b86c1a96ee301f751d50294072d142fd6dc08a8987ae9f3a9b%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/r03c597a64de790ba42c167efacfa23300c3d6c9fe589ab87fe02859c@%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/r03c597a64de790ba42c167efacfa23300c3d6c9fe589ab87fe02859c%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/b8a1bf18155b552dcf9a928ba808cbadad84c236d85eab3033662cfb@%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/b8a1bf18155b552dcf9a928ba808cbadad84c236d85eab3033662cfb%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/b84ad1258a89de5c9c853c7f2d3ad77e5b8b2930be9e132d5cef6b95@%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/b84ad1258a89de5c9c853c7f2d3ad77e5b8b2930be9e132d5cef6b95%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/39ae1f0bd5867c15755a6f959b271ade1aea04ccdc3b2e639dcd903b@%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/39ae1f0bd5867c15755a6f959b271ade1aea04ccdc3b2e639dcd903b%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/37220405a377c0182d2afdbc36461c4783b2930fbeae3a17f1333113@%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/37220405a377c0182d2afdbc36461c4783b2930fbeae3a17f1333113%40%3Cdev.tomcat.apache.org%3E
- https://h20564.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c04851013
- http://advisories.mageia.org/MGASA-2014-0268.html
- http://marc.info/?l=bugtraq&m=141017844705317&w=2
- http://marc.info/?l=bugtraq&m=144498216801440&w=2
- http://rhn.redhat.com/errata/RHSA-2015-0675.html
- http://rhn.redhat.com/errata/RHSA-2015-0720.html
- Weakness (CWE)
CWE-112- Platform
- Java / Kotlin (Maven)
- Package
org.apache.tomcat:tomcat, org.apache.tomcat:tomcat-catalina, org.apache.tomcat:tomcat-jasper- Disclosed
- 14.05.2022
- Updated
- 11.10.2026 12:21
Sources and licenses
OSV / GitHub Advisory Database - GHSA-prc3-7f44-w48j - CC BY 4.0
Vulnerability history: org.apache.tomcat:tomcat
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 162
- First → latest
- 12.2018 08.2026
- Without a fix
- 20
- Exploited in attacks
- 1
Severity breakdown
- Critical 8
- High 40
- Medium 102
- Low 12
Disclosures per year
- 2018: 1
- 2019: 1
- 2020: 2
- 2021: 5
- 2022: 125
- 2023: 3
- 2024: 2
- 2025: 4
- 2026: 19
-
Missing XML Validation in Apache Tomcat this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.