CVE-2019-0221

Exp

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.

Published: 2019-05-28 Last update: 2026-06-16 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2019-0221 is rated High Exploit Risk (78.9/100): CVSS Medium severity, with high exploitation likelihood (EPSS 45.57%, 99th percentile). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). EPSS rose +31.09% over the last day, indicating growing attacker interest. Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2019-0221

EDB-ID Source Kind Published Link
50119 exploit_db edb 2021-07-13 Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2019-0221

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 14.48% 45.57% +31.09%
2 2026-05-04 15.18% 14.48% -0.70%
3 2026-04-28 15.18%

Full EPSS history (60 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2019-0221

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
6.1 3.0 MEDIUM
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:C)
Breaking this can reach past the original component and bite other resources—bigger blast radius.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:N)
Service keeps running; no real outage angle.
2.8 2.7 [email protected]
4.3 2.0 MEDIUM
AV:N/AC:M/Au:N/C:N/I:P/A:N Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:M)
Exploitation needs some favorable conditions, but not exceptional ones.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:N)
No confidentiality impact.
Integrity impact (I:P)
Partial integrity impact.
Availability impact (A:N)
No availability impact.
8.6 2.9 [email protected]

Weakness enumeration for CVE-2019-0221

GitHub Security Advisory for CVE-2019-0221

GHSA-jjpq-gp5q-8q6w · Severity: medium · Ecosystem: maven — Cross-site scripting in Apache Tomcat

OS Trackers for CVE-2019-0221

vendor priority summary link
debian not yet assigned CVE-2019-0221 not yet assigned priority: Debian including 1 source packages (tomcat9), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2019-0221
gentoo normal CVE-2019-0221: 1 GLSA(s) (202003-43), 1 atom(s) (www-servers/tomcat); latest impact normal. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2019-0221
redhat low https://access.redhat.com/security/cve/CVE-2019-0221
suse medium CVE-2019-0221 severity moderate: SUSE including 353 source package names (amazon/suse-sles-15-sp1-chost-byos-v20210304-hvm-ssd-x86_64, amazon/suse-sles-15-sp1-chost-byos-v20220127-hvm-ssd-x86_64, …), 548 product×package rows across 34 product lines (HPE Helion OpenStack 8, SUSE Enterprise Storage 5, … (34 product lines)): Fixed 310, Known Affected 231, Known Not Affected 7. https://www.suse.com/security/cve/CVE-2019-0221/
ubuntu low CVE-2019-0221 low priority: Ubuntu including 3 source packages (tomcat7, tomcat8, tomcat9), 51 status rows across 17 suites (bionic, cosmic, disco, eoan, focal, groovy, hirsute, impish, jammy, kinetic, lunar, mantic, noble, oracular, trusty, upstream, xenial): DNE 27, not-affected 11, released 7, ignored 3, needs-triage 3. https://ubuntu.com/security/CVE-2019-0221

Affected software / configurations for CVE-2019-0221

Vendor Product Version Raw CPE
apache tomcat >= 7.0.0, <= 7.0.93 cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:*
apache tomcat >= 8.5.0, <= 8.5.39 cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:*
apache tomcat >= 9.0.1, <= 9.0.17 cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:*
apache tomcat 9.0.0 cpe:2.3:a:apache:tomcat:9.0.0:milestone1:*:*:*:*:*:*
apache tomcat 9.0.0 cpe:2.3:a:apache:tomcat:9.0.0:milestone10:*:*:*:*:*:*
apache tomcat 9.0.0 cpe:2.3:a:apache:tomcat:9.0.0:milestone11:*:*:*:*:*:*
apache tomcat 9.0.0 cpe:2.3:a:apache:tomcat:9.0.0:milestone12:*:*:*:*:*:*
apache tomcat 9.0.0 cpe:2.3:a:apache:tomcat:9.0.0:milestone13:*:*:*:*:*:*
apache tomcat 9.0.0 cpe:2.3:a:apache:tomcat:9.0.0:milestone14:*:*:*:*:*:*
apache tomcat 9.0.0 cpe:2.3:a:apache:tomcat:9.0.0:milestone15:*:*:*:*:*:*
apache tomcat 9.0.0 cpe:2.3:a:apache:tomcat:9.0.0:milestone16:*:*:*:*:*:*
apache tomcat 9.0.0 cpe:2.3:a:apache:tomcat:9.0.0:milestone17:*:*:*:*:*:*
apache tomcat 9.0.0 cpe:2.3:a:apache:tomcat:9.0.0:milestone18:*:*:*:*:*:*
apache tomcat 9.0.0 cpe:2.3:a:apache:tomcat:9.0.0:milestone19:*:*:*:*:*:*
apache tomcat 9.0.0 cpe:2.3:a:apache:tomcat:9.0.0:milestone2:*:*:*:*:*:*
apache tomcat 9.0.0 cpe:2.3:a:apache:tomcat:9.0.0:milestone20:*:*:*:*:*:*
apache tomcat 9.0.0 cpe:2.3:a:apache:tomcat:9.0.0:milestone21:*:*:*:*:*:*
apache tomcat 9.0.0 cpe:2.3:a:apache:tomcat:9.0.0:milestone22:*:*:*:*:*:*
apache tomcat 9.0.0 cpe:2.3:a:apache:tomcat:9.0.0:milestone23:*:*:*:*:*:*
apache tomcat 9.0.0 cpe:2.3:a:apache:tomcat:9.0.0:milestone24:*:*:*:*:*:*
apache tomcat 9.0.0 cpe:2.3:a:apache:tomcat:9.0.0:milestone25:*:*:*:*:*:*
apache tomcat 9.0.0 cpe:2.3:a:apache:tomcat:9.0.0:milestone26:*:*:*:*:*:*
apache tomcat 9.0.0 cpe:2.3:a:apache:tomcat:9.0.0:milestone27:*:*:*:*:*:*
apache tomcat 9.0.0 cpe:2.3:a:apache:tomcat:9.0.0:milestone3:*:*:*:*:*:*
apache tomcat 9.0.0 cpe:2.3:a:apache:tomcat:9.0.0:milestone4:*:*:*:*:*:*
apache tomcat 9.0.0 cpe:2.3:a:apache:tomcat:9.0.0:milestone5:*:*:*:*:*:*
apache tomcat 9.0.0 cpe:2.3:a:apache:tomcat:9.0.0:milestone6:*:*:*:*:*:*
apache tomcat 9.0.0 cpe:2.3:a:apache:tomcat:9.0.0:milestone7:*:*:*:*:*:*
apache tomcat 9.0.0 cpe:2.3:a:apache:tomcat:9.0.0:milestone8:*:*:*:*:*:*
apache tomcat 9.0.0 cpe:2.3:a:apache:tomcat:9.0.0:milestone9:*:*:*:*:*:*

References for CVE-2019-0221

URL Tags
http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00090.html
http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00054.html
http://packetstormsecurity.com/files/163457/Apache-Tomcat-9.0.0.M1-Cross-Site-Scripting.html
http://seclists.org/fulldisclosure/2019/May/50 Third Party Advisory
http://www.securityfocus.com/bid/108545
https://access.redhat.com/errata/RHSA-2019:3929
https://access.redhat.com/errata/RHSA-2019:3931
https://lists.apache.org/thread.html/6e6e9eacf7b28fd63d249711e9d3ccd4e0a83f556e324aee37be5a8c%40%3Cannounce.tomcat.apache.org%3E
https://lists.apache.org/thread.html/r3bbb800a816d0a51eccc5a228c58736960a9fffafa581a225834d97d%40%3Cdev.tomcat.apache.org%3E
https://lists.apache.org/thread.html/r48c1444845fe15a823e1374674bfc297d5008a5453788099ea14caf0%40%3Cdev.tomcat.apache.org%3E
https://lists.apache.org/thread.html/r6ccee4e849bc77df0840c7f853f6bd09d426f6741247da2b7429d5d9%40%3Cdev.tomcat.apache.org%3E
https://lists.apache.org/thread.html/r6d03e45b81eab03580cf7f8bb51cb3e9a1b10a2cc0c6a2d3cc92ed0c%40%3Cannounce.apache.org%3E
https://lists.apache.org/thread.html/r9136ff5b13e4f1941360b5a309efee2c114a14855578c3a2cbe5d19c%40%3Cdev.tomcat.apache.org%3E
https://lists.apache.org/thread.html/raba0fabaf4d56d4325ab2aca8814f0b30a237ab83d8106b115ee279a%40%3Cdev.tomcat.apache.org%3E
https://lists.debian.org/debian-lts-announce/2019/05/msg00044.html
https://lists.debian.org/debian-lts-announce/2019/08/msg00015.html
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NPHQEL5AQ6LZSZD2Y6TYZ4RC3WI7NXJ3/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZQTZ5BJ5F4KV6N53SGNKSW3UY5DBIQ46/
https://seclists.org/bugtraq/2019/Dec/43
https://security.gentoo.org/glsa/202003-43
https://security.netapp.com/advisory/ntap-20190606-0001/
https://support.f5.com/csp/article/K13184144?utm_source=f5support&amp%3Butm_medium=RSS
https://usn.ubuntu.com/4128-1/
https://usn.ubuntu.com/4128-2/
https://www.debian.org/security/2019/dsa-4596
https://www.oracle.com/security-alerts/cpuApr2021.html
https://www.oracle.com/security-alerts/cpuapr2020.html
https://www.oracle.com/security-alerts/cpujan2020.html
https://wwws.nightwatchcybersecurity.com/2019/05/27/xss-in-ssi-printenv-command-apache-tomcat-cve-2019-0221/
cvelogic Threat Intelligence