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 use
CVE-2019-0221 is a medium-severity flaw (CVSS 6.1) affecting tomcat. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- EPSS top 1%: very likely to be exploited
- Public exploit reference
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.1 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 59.2% (top 1%) |
| CISA exploited list | No |
| Weakness | CWE-79 |
| Published | 2019-05-28 |
| Last modified | 2026-11-02 |
Last updated 2026-11-02 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- Exploit-DB: Apache Tomcat 9.0.0.M1 - Cross-Site Scripting (XSS)
- Nuclei scan template: Apache Tomcat - Cross-Site Scripting
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2019-0221?
tomcat: upgrade to newer than 9.0.17. Exact commands for each OS are on this page.
Is CVE-2019-0221 being exploited?
CVE-2019-0221 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2019-0221 affect?
CVE-2019-0221 affects tomcat. Severity is medium (CVSS 6.1). 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 intende
How urgent is CVE-2019-0221?
Priority 56/100. EPSS top 1%: very likely to be exploited; Public exploit reference; On your watchlist
Software pages
Related CVEs
- CVE-2019-10072 HIGH 7.5 UPGRADE The fix for CVE-2019-0199 was incomplete and did not address HTTP/2 connection window exhaustion on write in A
- CVE-2019-0232 HIGH 8.1 UPGRADE When running on Windows with enableCmdLineArguments enabled, the CGI Servlet in Apache Tomcat 9.0.0.M1 to 9.0.
- CVE-2017-5647 HIGH 7.5 DOWNGRADE A bug in the handling of the pipelined requests in Apache Tomcat 9.0.0.M1 to 9.0.0.M18, 8.5.0 to 8.5.12, 8.0.0
- CVE-2026-34486 HIGH 7.5 EXPLOITED DOWNGRADE DOWNGRADE Apache Tomcat Missing Encryption of Sensitive Data Vulnerability
- CVE-2026-29146 HIGH 7.5 UPGRADE Padding Oracle vulnerability in Apache Tomcat's EncryptInterceptor with default configuration. This issue aff