Cross-site scriptingin Apache Tomcat.
Weaponized: a Nuclei exploit is public.
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.
- Upgrade org.apache.tomcat.embed:tomcat-embed-core (Maven) to 7.0.94, 8.5.40, 9.0.17 or later, whichever matches your release line.
- Upgrade org.apache.tomcat:tomcat-catalina (Maven) to 7.0.94, 8.5.40, 9.0.17 or later, whichever matches your release line.
- Upgrade org.apache.tomcat:tomcat (Maven) to 7.0.94, 8.5.40, 9.0.17 or later, whichever matches your release line.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 14 Nov 2018CVE ID reserved by apache.
- 28 May 2019Published in the CVE List.
- 2 Nov 2026CVE record last updated.
Attack code anyone can find
Exploit maturity: Weaponized (Nuclei). CISA assessment (SSVC): exploitation none.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other Tomcat vulnerabilities
- seclists.org mailing-list, x_refsource_FULLDISC
- lists.debian.org mailing-list, x_refsource_MLIST
- www.securityfocus.com vdb-entry, x_refsource_BID
- lists.fedoraproject.org vendor-advisory, x_refsource_FEDORA
- lists.opensuse.org vendor-advisory, x_refsource_SUSE
- lists.fedoraproject.org vendor-advisory, x_refsource_FEDORA
- lists.opensuse.org vendor-advisory, x_refsource_SUSE
- lists.debian.org mailing-list, x_refsource_MLIST
- usn.ubuntu.com vendor-advisory, x_refsource_UBUNTU
- usn.ubuntu.com vendor-advisory, x_refsource_UBUNTU
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- www.debian.org vendor-advisory, x_refsource_DEBIAN
- seclists.org mailing-list, x_refsource_BUGTRAQ
- lists.apache.org mailing-list, x_refsource_MLIST
- lists.apache.org mailing-list, x_refsource_MLIST
- lists.apache.org mailing-list, x_refsource_MLIST
- lists.apache.org mailing-list, x_refsource_MLIST
- lists.apache.org mailing-list, x_refsource_MLIST
- lists.apache.org mailing-list, x_refsource_MLIST
- security.gentoo.org vendor-advisory, x_refsource_GENTOO
- www.oracle.com x_refsource_MISC
- www.oracle.com x_refsource_MISC
- www.oracle.com x_refsource_MISC
- lists.apache.org x_refsource_CONFIRM
- security.netapp.com x_refsource_CONFIRM
- wwws.nightwatchcybersecurity.com x_refsource_MISC
- support.f5.com x_refsource_CONFIRM
- packetstormsecurity.com x_refsource_MISC
Patchminder. CVE-2019-0221: Cross-site scripting in Apache Tomcat. https://patchminder.com/cve/cve-2019-0221/ (accessed 5 December 2026).