patchminder
Weaponized · Nuclei CVE-2019-0221

Cross-site scriptingin Apache Tomcat.

Published 28 May 2019 · Updated 2 Nov 2026 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Weaponized: a Nuclei exploit is public.

Attack code is public
Severity
Medium 6.1
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.0 · no login needed
Attack likelihood
Very high
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 58.3% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed in 7.0.94, 8.5.40, 9.0.17
In plain words

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.

What to do now
  • 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.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
Apache Tomcat
Not confirmed
Not confirmed
CVE record
org.apache.tomcat.embed:tomcat-embed-core (Maven)
9.0.0 to before 9.0.17
9.0.17
GitHub advisory
org.apache.tomcat.embed:tomcat-embed-core (Maven)
8.5.0 to before 8.5.40
8.5.40
GitHub advisory
org.apache.tomcat.embed:tomcat-embed-core (Maven)
7.0.0 to before 7.0.94
7.0.94
GitHub advisory
org.apache.tomcat:tomcat-catalina (Maven)
9.0.0 to before 9.0.17
9.0.17
GitHub advisory
org.apache.tomcat:tomcat-catalina (Maven)
8.5.0 to before 8.5.40
8.5.40
GitHub advisory
org.apache.tomcat:tomcat-catalina (Maven)
7.0.0 to before 7.0.94
7.0.94
GitHub advisory
org.apache.tomcat:tomcat (Maven)
9.0.0 to before 9.0.17
9.0.17
GitHub advisory
org.apache.tomcat:tomcat (Maven)
8.5.0 to before 8.5.40
8.5.40
GitHub advisory
org.apache.tomcat:tomcat (Maven)
7.0.0 to before 7.0.94
7.0.94
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 14 Nov 2018
    CVE ID reserved by apache.
  2. 28 May 2019
    Published in the CVE List.
  3. 2 Nov 2026
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Weaponized (Nuclei). CISA assessment (SSVC): exploitation none.

Metasploit module
None known
Nuclei scan template
Available
Exploit-DB
1 entry
GitHub proof of concepts
None known
Exploit-DBEDB-ID 50119web application exploit for multiple, published 13 Jul 2021

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.

Related

Other Tomcat vulnerabilities

References
Cite this page

Patchminder. CVE-2019-0221: Cross-site scripting in Apache Tomcat. https://patchminder.com/cve/cve-2019-0221/ (accessed 5 December 2026).