CVE-2019-0221Tomcat XSS
Cross-site scripting in Apache Tomcat
Published May 28, 2019 · Updated Nov 24, 2026 · Also known as CLSA-2022-1670606563, CLSA-2025-1748282295, CLSA-2026-1792686134, DEBIAN-CVE-2019-0221, DLA-1810-1, GHSA-jjpq-gp5q-8q6w, SUSE-SU-2020:14375-1, SUSE-SU-2020:1497-1, SUSE-SU-2020:1498-1, UBUNTU-CVE-2019-0221, USN-4128-1, USN-4128-2, USN-6908-1
Key Facts
Patch immediately- CVE-2019-0221 is a medium-severity vulnerability (CVSS 6.1 v3.1) affecting Tomcat (Apache), tomcat7 (debian), tomcat8 (debian) and 22 more products.
- It is not listed in any known-exploited vulnerabilities catalog. A public exploit is reported by tracking sources, but no code link is listed yet.
- EPSS estimates a 58% probability of exploitation in the next 30 days.
- Fixed versions are available, including Tomcat <=7.0.93, Tomcat NA, Tomcat 7.0.76-10.amzn2.0.5.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Scores
CVSS v3.1
6.1
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS (30-day exploit likelihood)
58%
Higher than 99.1% of all scored CVEs
Exploit maturity
Proof of concept
ATLAS score
42/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Proof of concept
Public exploit code
1
Proof-of-concept links
In-the-wild evidence
0
Reports of active use
Advisories And Exploit References
Description
The SSI printenv command in Apache Tomcat 9.0.0.M1 to 9.0.0.17, 8.5.0 to 8.5.39 and 7.0.0 to 7.0.93 echoes user provided data without escaping and is, therefore, vulnerable to XSS. SSI is disabled by default. The printenv command is intended for debugging and is unlikely to be present in a production website.
Affected Products
395 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| TomcatApache | 9.0.0-milestone1, 9.0.0-milestone10, 9.0.0-milestone11, 9.0.0-milestone12, 9.0.0-milestone13, 9.0.0-milestone14, 9.0.0-milestone15, 9.0.0-milestone16 | 7.0.93 |
| tomcat7debian | See advisory | 7.0.56-3+really7.0.94-1 |
| tomcat8debian | See advisory | 8.0.14-1+deb8u15 |
| tomcat9debian | See advisory | 9.0.16-4 |
| libservlet3.0-javatuxcare | See advisory | 7.0.68-1ubuntu0.4+tuxcare.els2 |
Patched Releases
Tomcat
<=7.0.93, NA, 7.0.76-10.amzn2.0.5, 8.0.53-10.43.1, 8.0.53-29.27.1, 9.0.20-3.24.2, 9.0.20-lp150.2.19.1, 9.0.21-1.mga7, 9.0.21-3.13.2, 9.0.21-4.5.5, 9.0.21-lp151.3.3.1, 9.0.36-8.4
tomcat-webapps
NA, 7.0.76-10.amzn2.0.5, 8.0.53-10.43.1, 8.0.53-29.27.1, 9.0.20-3.24.2, 9.0.20-lp150.2.19.1, 9.0.21-3.13.2, 9.0.21-4.5.5, 9.0.21-lp151.3.3.1, 9.0.36-8.4
jws5-ecj
0:4.12.0-1.redhat_1.1.el6jws, 0:4.12.0-1.redhat_1.1.el7jws, 0:4.12.0-1.redhat_1.1.el8jws
jws5-javapackages-tools
0:3.4.1-5.15.11.el6jws, 0:3.4.1-5.15.11.el7jws, 0:3.4.1-5.15.11.el8jws
jws5-jboss-logging
0:3.3.2-1.Final_redhat_00001.1.el6jws, 0:3.3.2-1.Final_redhat_00001.1.el7jws, 0:3.3.2-1.Final_redhat_00001.1.el8jws
jws5-mod_cluster
0:1.4.1-1.Final_redhat_00001.2.el6jws, 0:1.4.1-1.Final_redhat_00001.2.el7jws, 0:1.4.1-1.Final_redhat_00001.2.el8jws
jws5-tomcat
0:9.0.21-10.redhat_4.1.el6jws, 0:9.0.21-10.redhat_4.1.el7jws, 0:9.0.21-10.redhat_4.1.el8jws
jws5-tomcat-native
0:1.2.21-34.redhat_34.el6jws, 0:1.2.21-34.redhat_34.el7jws, 0:1.2.21-34.redhat_34.el8jws
jws5-tomcat-vault
0:1.1.8-1.Final_redhat_1.1.el6jws, 0:1.1.8-1.Final_redhat_1.1.el7jws, 0:1.1.8-1.Final_redhat_1.1.el8jws
libservlet3.0-java
7.0.68-1ubuntu0.4+tuxcare.els2
libservlet3.0-java-doc
7.0.68-1ubuntu0.4+tuxcare.els2
libtomcat7-java
7.0.68-1ubuntu0.4+tuxcare.els2
libtomcat8-embed-java
8.5.100-1ubuntu1~18.04.1+tuxcare.els1
libtomcat8-java
8.5.100-1ubuntu1~18.04.1+tuxcare.els1
org.apache.tomcat:tomcat
7.0.70-tuxcare.4, 7.0.94, 8.5.40, 9.0.13-tuxcare.1, 9.0.17
org.apache.tomcat:tomcat-annotations-api
7.0.70-tuxcare.4
org.apache.tomcat:tomcat-api
7.0.70-tuxcare.4
org.apache.tomcat:tomcat-catalina
7.0.70-tuxcare.4, 7.0.94, 8.5.40, 9.0.13-tuxcare.1, 9.0.17
org.apache.tomcat:tomcat-catalina-ant
7.0.70-tuxcare.4
org.apache.tomcat:tomcat-catalina-ha
7.0.70-tuxcare.4
org.apache.tomcat:tomcat-catalina-jmx-remote
7.0.70-tuxcare.4
org.apache.tomcat:tomcat-catalina-ws
7.0.70-tuxcare.4
org.apache.tomcat:tomcat-coyote
7.0.70-tuxcare.4, 9.0.13-tuxcare.1
org.apache.tomcat:tomcat-dbcp
7.0.70-tuxcare.4
org.apache.tomcat:tomcat-el-api
7.0.70-tuxcare.4
Timeline
Publicly disclosed
May 28, 2019
Last updated
Nov 24, 2026
Weakness Type
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
- advisorynvd.nist.gov · CVE-2019-0221
- advisorysecurity-tracker.debian.org · CVE-2019-0221
- advisoryubuntu.com · CVE-2019-0221
- advisorycve.org · CVERecord
- advisoryRHSA-2020:0860
FAQ
Common Questions.
The SSI printenv command in Apache Tomcat 9.0.0.M1 to 9.0.0.17, 8.5.0 to 8.5.39 and 7.0.0 to 7.0.93 echoes user provided data without escaping and is, therefore, vulnerable to XSS.
Affected: Tomcat (Apache) versions 9.0.0-milestone1, 9.0.0-milestone10, 9.0.0-milestone11, 9.0.0-milestone12, 9.0.0-milestone13, 9.0.0-milestone14, 9.0.0-milestone15, 9.0.0-milestone16; tomcat7 (debian); tomcat8 (debian), among others. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
A public exploit is reported by tracking sources, but no code link is listed yet.
Fixed versions are available, including Tomcat <=7.0.93, Tomcat NA, Tomcat 7.0.76-10.amzn2.0.5.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2019-0221 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo