CVE-2019-0221
MediumPublic exploitCross-site scripting in Apache Tomcat
Published May 30, 2019 · Updated Aug 4, 2026 · Also known as 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. Public exploit code is available.
- EPSS estimates a 59% 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.
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)
59%
Higher than 99.1% of all scored CVEs
Exploited in the wild
No known
Not in a known-exploited catalog
Public exploit code
Available
Proof-of-concept or weaponized module
Get the full CVE-2019-0221 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
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
345 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 |
| org.apache.tomcat.embed:tomcat-embed-coremaven | >= 9.0.0 | 7.0.94 |
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-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
org.apache.tomcat:tomcat
7.0.94, 8.5.40, 9.0.17
org.apache.tomcat:tomcat-catalina
7.0.94, 8.5.40, 9.0.17
org.apache.tomcat.embed:tomcat-embed-core
7.0.94, 8.5.40, 9.0.17
tomcat-admin-webapps
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
tomcat-docs-webapp
7.0.76-10.amzn2.0.5, 8.0.53-10.43.1, 8.0.53-29.27.1, 9.0.20-lp150.2.19.1, 9.0.21-3.13.2, 9.0.21-lp151.3.3.1, 9.0.36-8.4
tomcat-el-2.2-api
7.0.76-10.amzn2.0.5
tomcat-el-3_0-api
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
tomcat-embed
9.0.20-lp150.2.19.1, 9.0.21-lp151.3.3.1, 9.0.36-8.4
tomcat-javadoc
7.0.76-10.amzn2.0.5, 8.0.53-10.43.1, 8.0.53-29.27.1, 9.0.20-lp150.2.19.1, 9.0.21-3.13.2, 9.0.21-lp151.3.3.1, 9.0.36-8.4
tomcat-jsp-2_3-api
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
tomcat-jsp-2.2-api
7.0.76-10.amzn2.0.5
tomcat-jsvc
7.0.76-10.amzn2.0.5, 9.0.20-lp150.2.19.1, 9.0.21-lp151.3.3.1, 9.0.36-8.4
tomcat-lib
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
tomcat-native
0:1.2.23-21.redhat_21.ep7.el6, 0:1.2.23-21.redhat_21.ep7.el7
tomcat-servlet-3_1-api
8.0.53-10.43.1, 8.0.53-29.27.1
tomcat-servlet-3.0-api
7.0.76-10.amzn2.0.5
Timeline
Publicly disclosed
May 30, 2019
Last updated
Aug 4, 2026
Weakness Type
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
- advisoryRHSA-2020:0860
- advisoryRHSA-2020:0861
- advisoryhttps://bugzilla.suse.com/1111966
- advisoryhttps://bugzilla.suse.com/1131055
- advisoryhttps://bugzilla.suse.com/1136085
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.
Public exploit code is available.
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 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo