Home / Apache / Apache Tomcat / CVE-2019-0221
CVE-2019-0221: is it exploited, and which versions of Apache Tomcat are affected and fixed?
CVE-2019-0221 is a cross-site scripting (XSS) vulnerability in Apache Tomcat. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 09:38 UTC). Affected: org.apache.tomcat.embed:tomcat-embed-core from 9.0.0 before 9.0.17, org.apache.tomcat.embed:tomcat-embed-core from 8.5.0 before 8.5.40, org.apache.tomcat.embed:tomcat-embed-core from 7.0.0 before 7.0.94 and 6 more (GitHub advisory GHSA-jjpq-gp5q-8q6w). Fixed in 9.0.17, 8.5.40 and 7.0.94 (GitHub advisory GHSA-jjpq-gp5q-8q6w). Severity: Medium (6.1, CVSS 3.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 09:38 UTC, CVE record November 19, 2026, 07:17 UTC and NVD November 19, 2026, 08:22 UTC.
What is CVE-2019-0221?
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.
From the CVE record by apache, last updated November 2, 2026, 17:29 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Apache | Apache Tomcat | Apache Tomcat 9.0.0.M1 to 9.0.0.17 8.5.0 to 8.5.39 7.0.0 to 7.0.93 |
As the CVE record by apache states it, last updated November 2, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.apache.tomcat.embed:tomcat-embed-core | >= 9.0.0, < 9.0.17 | 9.0.17 | GHSA-jjpq-gp5q-8q6w |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | >= 8.5.0, < 8.5.40 | 8.5.40 | GHSA-jjpq-gp5q-8q6w |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | >= 7.0.0, < 7.0.94 | 7.0.94 | GHSA-jjpq-gp5q-8q6w |
| Maven | org.apache.tomcat:tomcat-catalina | >= 9.0.0, < 9.0.17 | 9.0.17 | GHSA-jjpq-gp5q-8q6w |
| Maven | org.apache.tomcat:tomcat-catalina | >= 8.5.0, < 8.5.40 | 8.5.40 | GHSA-jjpq-gp5q-8q6w |
| Maven | org.apache.tomcat:tomcat-catalina | >= 7.0.0, < 7.0.94 | 7.0.94 | GHSA-jjpq-gp5q-8q6w |
| Maven | org.apache.tomcat:tomcat | >= 9.0.0, < 9.0.17 | 9.0.17 | GHSA-jjpq-gp5q-8q6w |
| Maven | org.apache.tomcat:tomcat | >= 8.5.0, < 8.5.40 | 8.5.40 | GHSA-jjpq-gp5q-8q6w |
| Maven | org.apache.tomcat:tomcat | >= 7.0.0, < 7.0.94 | 7.0.94 | GHSA-jjpq-gp5q-8q6w |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated June 18, 2026. Summary: Cross-site scripting in Apache Tomcat.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| apache | tomcat | from 7.0.0 through 7.0.93 | application |
| apache | tomcat | from 8.5.0 through 8.5.39 | application |
| apache | tomcat | from 9.0.1 through 9.0.17 | application |
| apache | tomcat | 9.0.0 | application |
NVD analysis (status Modified), last modified November 2, 2026, 18:18 UTC.
How severe is CVE-2019-0221?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.1 | CVSS 3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N | NVD |
| Medium 4.3 | CVSS 2.0 | AV:N/AC:M/Au:N/C:N/I:P/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2019-0221 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, November 2, 2026)
- EPSS
- 58.3% probability of exploitation activity in the next 30 days, percentile 99.1 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
Where are the vendor advisories and references?
- 20190529 XSS in SSI printenv command - Apache Tomcat - CVE-2019-0221 mailing-list, x_refsource_FULLDISC
- [debian-lts-announce] 20190530 [SECURITY] [DLA 1810-1] tomcat7 security update mailing-list, x_refsource_MLIST
- 108545 vdb-entry, x_refsource_BID
- FEDORA-2019-1a3f878d27 vendor-advisory, x_refsource_FEDORA
- openSUSE-SU-2019:1673 vendor-advisory, x_refsource_SUSE
- FEDORA-2019-d66febb5df vendor-advisory, x_refsource_FEDORA
- openSUSE-SU-2019:1808 vendor-advisory, x_refsource_SUSE
- [debian-lts-announce] 20190813 [SECURITY] [DLA 1883-1] tomcat8 security update mailing-list, x_refsource_MLIST
- USN-4128-1 vendor-advisory, x_refsource_UBUNTU
- USN-4128-2 vendor-advisory, x_refsource_UBUNTU
- RHSA-2019:3929 vendor-advisory, x_refsource_REDHAT
- RHSA-2019:3931 vendor-advisory, x_refsource_REDHAT
- DSA-4596 vendor-advisory, x_refsource_DEBIAN
- 20191229 [SECURITY] [DSA 4596-1] tomcat8 security update mailing-list, x_refsource_BUGTRAQ
- [announce] 20200131 Apache Software Foundation Security Report: 2019 mailing-list, x_refsource_MLIST
- [tomcat-dev] 20200203 svn commit: r1873527 [24/30] - /tomcat/site/trunk/docs/ mailing-list, x_refsource_MLIST
- [tomcat-dev] 20200203 svn commit: r1873527 [25/30] - /tomcat/site/trunk/docs/ mailing-list, x_refsource_MLIST
- [tomcat-dev] 20200213 svn commit: r1873980 [27/34] - /tomcat/site/trunk/docs/ mailing-list, x_refsource_MLIST
- [tomcat-dev] 20200213 svn commit: r1873980 [28/34] - /tomcat/site/trunk/docs/ mailing-list, x_refsource_MLIST
- [tomcat-dev] 20200213 svn commit: r1873980 [29/34] - /tomcat/site/trunk/docs/ mailing-list, x_refsource_MLIST
- GLSA-202003-43 vendor-advisory, x_refsource_GENTOO
- https://www.oracle.com/security-alerts/cpuapr2020.html x_refsource_MISC
- https://www.oracle.com/security-alerts/cpujan2020.html x_refsource_MISC
- https://www.oracle.com/security-alerts/cpuApr2021.html x_refsource_MISC
- https://lists.apache.org/thread.html/6e6e9eacf7b28fd63d249711e9d3ccd4e0a83f556e324aee37be5a8c%40%3Cannounce.tomcat.apache.org%3E x_refsource_CONFIRM
- https://security.netapp.com/advisory/ntap-20190606-0001/ x_refsource_CONFIRM
- https://wwws.nightwatchcybersecurity.com/2019/05/27/xss-in-ssi-printenv-command-apache-tomcat-cve-2019-0221/ x_refsource_MISC
- https://support.f5.com/csp/article/K13184144?utm_source=f5support&%3Butm_medium=RSS x_refsource_CONFIRM
- http://packetstormsecurity.com/files/163457/Apache-Tomcat-9.0.0.M1-Cross-Site-Scripting.html x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- November 14, 2018
- Published
- May 28, 2019, 21:01 UTC
- CVE record updated
- November 2, 2026, 17:29 UTC by apache
- NVD
- Modified, last modified November 2, 2026, 18:18 UTC
- Last checked
- CVE list November 19, 2026, 07:17 UTC; NVD November 19, 2026, 08:22 UTC; KEV December 3, 2026, 09:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Apache Tomcat?
- Feb 24, 2020CVE-2020-1938 Apache Tomcat: privilege escalation (improper privilege management) exploited
- Jun 26, 2020CVE-2020-11996 Apache Tomcat: denial of service (uncontrolled resource consumption)
- Feb 24, 2020CVE-2020-1935 Apache Tomcat: HTTP request smuggling
- Feb 24, 2020CVE-2019-17569 Apache Tomcat: HTTP request smuggling
Questions about CVE-2019-0221
Is CVE-2019-0221 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 09:38 UTC. FIRST's EPSS gives it a 58.3% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Apache Tomcat are affected by CVE-2019-0221?
org.apache.tomcat.embed:tomcat-embed-core from 9.0.0 before 9.0.17, org.apache.tomcat.embed:tomcat-embed-core from 8.5.0 before 8.5.40, org.apache.tomcat.embed:tomcat-embed-core from 7.0.0 before 7.0.94, org.apache.tomcat:tomcat-catalina from 9.0.0 before 9.0.17, org.apache.tomcat:tomcat-catalina from 8.5.0 before 8.5.40, org.apache.tomcat:tomcat-catalina from 7.0.0 before 7.0.94 and 3 more, per the GitHub advisory GHSA-jjpq-gp5q-8q6w. The tables above give every range the sources list.
Which version fixes CVE-2019-0221?
9.0.17, 8.5.40 and 7.0.94, per the GitHub advisory GHSA-jjpq-gp5q-8q6w. Check the vendor's advisory before you rely on it.
How severe is CVE-2019-0221?
Medium (6.1, CVSS 3.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2019-0221?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.