Read the docs
TI-2019-00194 Aliases CVE-2019-0221GHSA-jjpq-gp5q-8q6w

Cross-site scripting in Apache Tomcat

Priority MEDIUM 61CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Cross-site scripting
Confidentiality · integrity · availability
Low · Low · None
Fix status
Partial Red Hat: 7 fixed, 12 without a fix

Attack profile from CVSS 3.0 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-79.

Summary

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 it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.59194 99th percentileScored 2026-11-07
Fix Partial org.apache.tomcat.embed:tomcat-embed-core (Maven): 9.0.17, 8.5.40, 7.0.94org.apache.tomcat:tomcat-catalina (Maven): 9.0.17, 8.5.40, 7.0.94+1 more productRed Hat: 4 advisoriesRed Hat: 7 fixed, 12 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
ApacheApache TomcatApache Tomcat 9.0.0.M1 to 9.0.0.17; 8.5.0 to 8.5.39; 7.0.0 to 7.0.93—No fix listedCNA
—org.apache.tomcat.embed:tomcat-embed-core (Maven)9.0.0 to before 9.0.179.0.17Patch availableGHSA-jjpq-gp5q-8q6w
—org.apache.tomcat.embed:tomcat-embed-core (Maven)8.5.0 to before 8.5.408.5.40Patch availableGHSA-jjpq-gp5q-8q6w
—org.apache.tomcat.embed:tomcat-embed-core (Maven)7.0.0 to before 7.0.947.0.94Patch availableGHSA-jjpq-gp5q-8q6w
—org.apache.tomcat:tomcat-catalina (Maven)9.0.0 to before 9.0.179.0.17Patch availableGHSA-jjpq-gp5q-8q6w
—org.apache.tomcat:tomcat-catalina (Maven)8.5.0 to before 8.5.408.5.40Patch availableGHSA-jjpq-gp5q-8q6w
—org.apache.tomcat:tomcat-catalina (Maven)7.0.0 to before 7.0.947.0.94Patch availableGHSA-jjpq-gp5q-8q6w
—org.apache.tomcat:tomcat (Maven)9.0.0 to before 9.0.179.0.17Patch availableGHSA-jjpq-gp5q-8q6w
—org.apache.tomcat:tomcat (Maven)8.5.0 to before 8.5.408.5.40Patch availableGHSA-jjpq-gp5q-8q6w
—org.apache.tomcat:tomcat (Maven)7.0.0 to before 7.0.947.0.94Patch availableGHSA-jjpq-gp5q-8q6w
  • Apache Tomcat VendorApache Affected Apache Tomcat 9.0.0.M1 to 9.0.0.17; 8.5.0 to 8.5.39; 7.0.0 to 7.0.93 Fixed in — No fix listed CNA
  • org.apache.tomcat.embed:tomcat-embed-core (Maven) Vendor— Affected 9.0.0 to before 9.0.17 Fixed in 9.0.17 Patch available GHSA-jjpq-gp5q-8q6w
  • org.apache.tomcat.embed:tomcat-embed-core (Maven) Vendor— Affected 8.5.0 to before 8.5.40 Fixed in 8.5.40 Patch available GHSA-jjpq-gp5q-8q6w
  • org.apache.tomcat.embed:tomcat-embed-core (Maven) Vendor— Affected 7.0.0 to before 7.0.94 Fixed in 7.0.94 Patch available GHSA-jjpq-gp5q-8q6w
  • org.apache.tomcat:tomcat-catalina (Maven) Vendor— Affected 9.0.0 to before 9.0.17 Fixed in 9.0.17 Patch available GHSA-jjpq-gp5q-8q6w
  • org.apache.tomcat:tomcat-catalina (Maven) Vendor— Affected 8.5.0 to before 8.5.40 Fixed in 8.5.40 Patch available GHSA-jjpq-gp5q-8q6w
  • org.apache.tomcat:tomcat-catalina (Maven) Vendor— Affected 7.0.0 to before 7.0.94 Fixed in 7.0.94 Patch available GHSA-jjpq-gp5q-8q6w
  • org.apache.tomcat:tomcat (Maven) Vendor— Affected 9.0.0 to before 9.0.17 Fixed in 9.0.17 Patch available GHSA-jjpq-gp5q-8q6w
  • org.apache.tomcat:tomcat (Maven) Vendor— Affected 8.5.0 to before 8.5.40 Fixed in 8.5.40 Patch available GHSA-jjpq-gp5q-8q6w
  • org.apache.tomcat:tomcat (Maven) Vendor— Affected 7.0.0 to before 7.0.94 Fixed in 7.0.94 Patch available GHSA-jjpq-gp5q-8q6w

CPE configurations NVD · 28

CPEVersionsRoleVendor
cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:*7.0.0 – 7.0.93; 8.5.0 – 8.5.39; 9.0.1 – 9.0.17VulnerableApache
cpe:2.3:a:apache:tomcat:9.0.0:milestone1:*:*:*:*:*:*9.0.0 milestone1VulnerableApache
cpe:2.3:a:apache:tomcat:9.0.0:milestone10:*:*:*:*:*:*9.0.0 milestone10VulnerableApache
cpe:2.3:a:apache:tomcat:9.0.0:milestone11:*:*:*:*:*:*9.0.0 milestone11VulnerableApache
cpe:2.3:a:apache:tomcat:9.0.0:milestone12:*:*:*:*:*:*9.0.0 milestone12VulnerableApache
cpe:2.3:a:apache:tomcat:9.0.0:milestone13:*:*:*:*:*:*9.0.0 milestone13VulnerableApache
cpe:2.3:a:apache:tomcat:9.0.0:milestone14:*:*:*:*:*:*9.0.0 milestone14VulnerableApache
cpe:2.3:a:apache:tomcat:9.0.0:milestone15:*:*:*:*:*:*9.0.0 milestone15VulnerableApache
cpe:2.3:a:apache:tomcat:9.0.0:milestone16:*:*:*:*:*:*9.0.0 milestone16VulnerableApache
cpe:2.3:a:apache:tomcat:9.0.0:milestone17:*:*:*:*:*:*9.0.0 milestone17VulnerableApache
  • cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:* Versions 7.0.0 – 7.0.93; 8.5.0 – 8.5.39; 9.0.1 – 9.0.17 Vulnerable ·Apache
  • cpe:2.3:a:apache:tomcat:9.0.0:milestone1:*:*:*:*:*:* Versions 9.0.0 milestone1 Vulnerable ·Apache
  • cpe:2.3:a:apache:tomcat:9.0.0:milestone10:*:*:*:*:*:* Versions 9.0.0 milestone10 Vulnerable ·Apache
  • cpe:2.3:a:apache:tomcat:9.0.0:milestone11:*:*:*:*:*:* Versions 9.0.0 milestone11 Vulnerable ·Apache
  • cpe:2.3:a:apache:tomcat:9.0.0:milestone12:*:*:*:*:*:* Versions 9.0.0 milestone12 Vulnerable ·Apache
  • cpe:2.3:a:apache:tomcat:9.0.0:milestone13:*:*:*:*:*:* Versions 9.0.0 milestone13 Vulnerable ·Apache
  • cpe:2.3:a:apache:tomcat:9.0.0:milestone14:*:*:*:*:*:* Versions 9.0.0 milestone14 Vulnerable ·Apache
  • cpe:2.3:a:apache:tomcat:9.0.0:milestone15:*:*:*:*:*:* Versions 9.0.0 milestone15 Vulnerable ·Apache
  • cpe:2.3:a:apache:tomcat:9.0.0:milestone16:*:*:*:*:*:* Versions 9.0.0 milestone16 Vulnerable ·Apache
  • cpe:2.3:a:apache:tomcat:9.0.0:milestone17:*:*:*:*:*:* Versions 9.0.0 milestone17 Vulnerable ·Apache
Show 18 more CPE
CPEVersionsRoleVendor
cpe:2.3:a:apache:tomcat:9.0.0:milestone18:*:*:*:*:*:*9.0.0 milestone18VulnerableApache
cpe:2.3:a:apache:tomcat:9.0.0:milestone19:*:*:*:*:*:*9.0.0 milestone19VulnerableApache
cpe:2.3:a:apache:tomcat:9.0.0:milestone2:*:*:*:*:*:*9.0.0 milestone2VulnerableApache
cpe:2.3:a:apache:tomcat:9.0.0:milestone20:*:*:*:*:*:*9.0.0 milestone20VulnerableApache
cpe:2.3:a:apache:tomcat:9.0.0:milestone21:*:*:*:*:*:*9.0.0 milestone21VulnerableApache
cpe:2.3:a:apache:tomcat:9.0.0:milestone22:*:*:*:*:*:*9.0.0 milestone22VulnerableApache
cpe:2.3:a:apache:tomcat:9.0.0:milestone23:*:*:*:*:*:*9.0.0 milestone23VulnerableApache
cpe:2.3:a:apache:tomcat:9.0.0:milestone24:*:*:*:*:*:*9.0.0 milestone24VulnerableApache
cpe:2.3:a:apache:tomcat:9.0.0:milestone25:*:*:*:*:*:*9.0.0 milestone25VulnerableApache
cpe:2.3:a:apache:tomcat:9.0.0:milestone26:*:*:*:*:*:*9.0.0 milestone26VulnerableApache
cpe:2.3:a:apache:tomcat:9.0.0:milestone27:*:*:*:*:*:*9.0.0 milestone27VulnerableApache
cpe:2.3:a:apache:tomcat:9.0.0:milestone3:*:*:*:*:*:*9.0.0 milestone3VulnerableApache
cpe:2.3:a:apache:tomcat:9.0.0:milestone4:*:*:*:*:*:*9.0.0 milestone4VulnerableApache
cpe:2.3:a:apache:tomcat:9.0.0:milestone5:*:*:*:*:*:*9.0.0 milestone5VulnerableApache
cpe:2.3:a:apache:tomcat:9.0.0:milestone6:*:*:*:*:*:*9.0.0 milestone6VulnerableApache
cpe:2.3:a:apache:tomcat:9.0.0:milestone7:*:*:*:*:*:*9.0.0 milestone7VulnerableApache
cpe:2.3:a:apache:tomcat:9.0.0:milestone8:*:*:*:*:*:*9.0.0 milestone8VulnerableApache
cpe:2.3:a:apache:tomcat:9.0.0:milestone9:*:*:*:*:*:*9.0.0 milestone9VulnerableApache
  • cpe:2.3:a:apache:tomcat:9.0.0:milestone18:*:*:*:*:*:* Versions 9.0.0 milestone18 Vulnerable ·Apache
  • cpe:2.3:a:apache:tomcat:9.0.0:milestone19:*:*:*:*:*:* Versions 9.0.0 milestone19 Vulnerable ·Apache
  • cpe:2.3:a:apache:tomcat:9.0.0:milestone2:*:*:*:*:*:* Versions 9.0.0 milestone2 Vulnerable ·Apache
  • cpe:2.3:a:apache:tomcat:9.0.0:milestone20:*:*:*:*:*:* Versions 9.0.0 milestone20 Vulnerable ·Apache
  • cpe:2.3:a:apache:tomcat:9.0.0:milestone21:*:*:*:*:*:* Versions 9.0.0 milestone21 Vulnerable ·Apache
  • cpe:2.3:a:apache:tomcat:9.0.0:milestone22:*:*:*:*:*:* Versions 9.0.0 milestone22 Vulnerable ·Apache
  • cpe:2.3:a:apache:tomcat:9.0.0:milestone23:*:*:*:*:*:* Versions 9.0.0 milestone23 Vulnerable ·Apache
  • cpe:2.3:a:apache:tomcat:9.0.0:milestone24:*:*:*:*:*:* Versions 9.0.0 milestone24 Vulnerable ·Apache
  • cpe:2.3:a:apache:tomcat:9.0.0:milestone25:*:*:*:*:*:* Versions 9.0.0 milestone25 Vulnerable ·Apache
  • cpe:2.3:a:apache:tomcat:9.0.0:milestone26:*:*:*:*:*:* Versions 9.0.0 milestone26 Vulnerable ·Apache
  • cpe:2.3:a:apache:tomcat:9.0.0:milestone27:*:*:*:*:*:* Versions 9.0.0 milestone27 Vulnerable ·Apache
  • cpe:2.3:a:apache:tomcat:9.0.0:milestone3:*:*:*:*:*:* Versions 9.0.0 milestone3 Vulnerable ·Apache
  • cpe:2.3:a:apache:tomcat:9.0.0:milestone4:*:*:*:*:*:* Versions 9.0.0 milestone4 Vulnerable ·Apache
  • cpe:2.3:a:apache:tomcat:9.0.0:milestone5:*:*:*:*:*:* Versions 9.0.0 milestone5 Vulnerable ·Apache
  • cpe:2.3:a:apache:tomcat:9.0.0:milestone6:*:*:*:*:*:* Versions 9.0.0 milestone6 Vulnerable ·Apache
  • cpe:2.3:a:apache:tomcat:9.0.0:milestone7:*:*:*:*:*:* Versions 9.0.0 milestone7 Vulnerable ·Apache
  • cpe:2.3:a:apache:tomcat:9.0.0:milestone8:*:*:*:*:*:* Versions 9.0.0 milestone8 Vulnerable ·Apache
  • cpe:2.3:a:apache:tomcat:9.0.0:milestone9:*:*:*:*:*:* Versions 9.0.0 milestone9 Vulnerable ·Apache

Remediation

  • Fix · GHSA-jjpq-gp5q-8q6w org.apache.tomcat.embed:tomcat-embed-core (Maven) Fixed in 9.0.17 Advisory →
  • Fix · GHSA-jjpq-gp5q-8q6w org.apache.tomcat.embed:tomcat-embed-core (Maven) Fixed in 8.5.40 Advisory →
  • Fix · GHSA-jjpq-gp5q-8q6w org.apache.tomcat.embed:tomcat-embed-core (Maven) Fixed in 7.0.94 Advisory →
  • Fix · GHSA-jjpq-gp5q-8q6w org.apache.tomcat:tomcat-catalina (Maven) Fixed in 9.0.17 Advisory →
  • Fix · GHSA-jjpq-gp5q-8q6w org.apache.tomcat:tomcat-catalina (Maven) Fixed in 8.5.40 Advisory →
  • Fix · GHSA-jjpq-gp5q-8q6w org.apache.tomcat:tomcat-catalina (Maven) Fixed in 7.0.94 Advisory →
  • Fix · GHSA-jjpq-gp5q-8q6w org.apache.tomcat:tomcat (Maven) Fixed in 9.0.17 Advisory →
  • Fix · GHSA-jjpq-gp5q-8q6w org.apache.tomcat:tomcat (Maven) Fixed in 8.5.40 Advisory →
  • Fix · GHSA-jjpq-gp5q-8q6w org.apache.tomcat:tomcat (Maven) Fixed in 7.0.94 Advisory →

Red Hat 4 advisories

  • RHSA-2020:0861 Released 2020-03-17 · Red Hat rating Important
    Red Hat JBoss Web Server 3.1 Service Pack 8 security update
    • Red Hat JBoss Web Server 3.1 for RHEL 6 tomcat-native-1.2.23-21.redhat_21.ep7.el6, tomcat7-7.0.70-38.ep7.el6, tomcat7-admin-webapps-7.0.70-38.ep7.el6 +22
    • Red Hat JBoss Web Server 3.1 for RHEL 7 tomcat-native-1.2.23-21.redhat_21.ep7.el7, tomcat7-7.0.70-38.ep7.el7, tomcat7-admin-webapps-7.0.70-38.ep7.el7 +22
  • RHSA-2020:0860 Released 2020-03-17 · Red Hat rating Important
    Red Hat JBoss Web Server 3.1 Service Pack 8 security update
    • Red Hat JBoss Web Server 3.1
  • RHSA-2019:3929 Released 2019-11-20 · Red Hat rating Important
    Red Hat JBoss Web Server 5.2 security release
    • Red Hat JBoss Web Server 5.2 for RHEL 6 Server jws5-ecj-4.12.0-1.redhat_1.1.el6jws, jws5-javapackages-tools-3.4.1-5.15.11.el6jws, jws5-jboss-logging-3.3.2-1.Final_redhat_00001.1.el6jws +16
    • Red Hat JBoss Web Server 5.2 for RHEL 7 Server jws5-ecj-4.12.0-1.redhat_1.1.el7jws, jws5-javapackages-tools-3.4.1-5.15.11.el7jws, jws5-jboss-logging-3.3.2-1.Final_redhat_00001.1.el7jws +16
    • Red Hat JBoss Web Server 5.2 for RHEL 8 jws5-ecj-4.12.0-1.redhat_1.1.el8jws, jws5-javapackages-tools-3.4.1-5.15.11.el8jws, jws5-jboss-logging-3.3.2-1.Final_redhat_00001.1.el8jws +16
Show 1 more Red Hat advisories
  • RHSA-2019:3931 Released 2019-11-20 · Red Hat rating Important
    Red Hat JBoss Web Server 5.2 security release
    • Red Hat JBoss Web Server 5

Vendor assessments

Red Hat

Red Hat rating: Low. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat BPM Suite 6AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux 6AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux 7AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 8AffectedNo fix yet: Fix deferred
Red Hat JBoss BRMS 5AffectedNo fix planned: Out of support scope
Red Hat JBoss BRMS 6AffectedNo fix planned: Out of support scope
Red Hat JBoss Data Grid 6AffectedNo fix planned: Out of support scope
Red Hat JBoss Data Virtualization 6AffectedNo fix planned: Out of support scope
Red Hat JBoss Enterprise Application Platform 5AffectedNo fix planned: Out of support scope
Red Hat JBoss Enterprise Application Platform 6AffectedNo fix planned: Out of support scope
Red Hat JBoss Fuse 6AffectedNo fix planned: Out of support scope
Red Hat JBoss Operations Network 3AffectedNo fix planned: Out of support scope
Red Hat JBoss Web Server 3.1Fixed RHSA-2020:0860
Red Hat JBoss Web Server 3.1 for RHEL 6Fixed RHSA-2020:0861
Red Hat JBoss Web Server 3.1 for RHEL 7Fixed RHSA-2020:0861
Red Hat JBoss Web Server 5Fixed RHSA-2019:3931
Red Hat JBoss Web Server 5.2 for RHEL 6 ServerFixed RHSA-2019:3929
Red Hat JBoss Web Server 5.2 for RHEL 7 ServerFixed RHSA-2019:3929
Red Hat JBoss Web Server 5.2 for RHEL 8Fixed RHSA-2019:3929
Not affected: 2 products
  • Red Hat Fuse 7
  • Red Hat JBoss Data Grid 7

Timeline

  1. 2026-10-02 Threatist record created from CVE-2019-0221
  2. 2026-10-03 Alias added: GHSA-jjpq-gp5q-8q6w
  3. 2026-11-02 CISA SSVC decision points changed

References

Other 41

  • TI-2025-18529 Apache Tomcat: Potential RCE and/or information disclosure and/or information corruption with partial PUT KEVCVSS 3.1CRITICAL 10.0
  • TI-2020-01862 Improper privilege management in Apache Tomcat KEVCVSS 3.1CRITICAL 9.8
  • TI-2016-07192 Improper access control in Apache Tomcat KEVCVSS 3.1CRITICAL 9.8
  • TI-2017-09342 Unrestricted file upload in Apache Tomcat KEVCVSS 3.1HIGH 8.1
  • TI-2017-09340 Unrestricted file upload in Apache Tomcat KEVCVSS 3.1HIGH 8.1
  • TI-2026-26741 Apache Tomcat: Fix for CVE-2026-29146 allowed bypass of EncryptInterceptor KEVCVSS 3.1HIGH 7.5
See all 273 →

Sources