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…
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.
A public exploit is available
Exploit-DB · Nuclei template
- Exploit-DBApache Tomcat 9.0.0.M1 - Cross-Site Scripting (XSS)
- NucleiApache Tomcat - Cross-Site Scripting
A Nuclei detection template exists for this, which means it is scanned for at internet scale rather than looked for deliberately.
Signals come from Exploit-DB, Metasploit, Nuclei and published proof-of-concept repositories. Their absence means nothing was found, not that nothing exists.
Assessment
- CVSS
- Not yet scored
- Severity
- Unscored
- EPSS
- 59.19% chance of exploitation in the next 30 days
- Known exploited
- Not listed in CISA KEV
- Exploit availability
- Exploit-DB, Nuclei template
- Published
- 28 May 2019
- Last updated
- 2 November 2026
- Affected
- Apache · Apache Tomcat
- Assigner
- apache
At the source
References
- http://seclists.org/fulldisclosure/2019/May/50
- https://lists.debian.org/debian-lts-announce/2019/05/msg00044.html
- http://www.securityfocus.com/bid/108545
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZQTZ5BJ5F4KV6N53SGNKSW3UY5DBIQ46/
- http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00090.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NPHQEL5AQ6LZSZD2Y6TYZ4RC3WI7NXJ3/
- http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00054.html
- https://lists.debian.org/debian-lts-announce/2019/08/msg00015.html
- https://usn.ubuntu.com/4128-1/
- https://usn.ubuntu.com/4128-2/
- https://access.redhat.com/errata/RHSA-2019:3929
- https://access.redhat.com/errata/RHSA-2019:3931
Community proofs of concept
No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.
Submit a proof of concept
Only for publicly disclosed vulnerabilities, and only material from testing you were authorised to perform. This platform does not buy, sell, or broker exploits — see earning from vulnerability research for legitimate bounty programs. Submissions are reviewed before they appear. Text only; do not include live credentials, personal data, or anything targeting systems you are not permitted to test.
Query this programmatically
Agents can read this through the MCP endpoint, or over HTTP:
curl https://cve.zerocrew.in/api/cve/CVE-2019-0221