Cross-site scripting in Apache Tomcat
Published 30 May 2019 · Updated 18 Jun 2026
Is your project on an affected org.apache.tomcat.embed:tomcat-embed-core?
Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected packages
- Affected
- >=9.0.0 <9.0.17
- Fixed in
- 9.0.17
mvn versions:use-dep-version -Dincludes=org.apache.tomcat.embed:tomcat-embed-core -DdepVersion=9.0.17 -DforceVersion=true- Affected
- >=8.5.0 <8.5.40
- Fixed in
- 8.5.40
mvn versions:use-dep-version -Dincludes=org.apache.tomcat.embed:tomcat-embed-core -DdepVersion=8.5.40 -DforceVersion=true- Affected
- >=7.0.0 <7.0.94
- Fixed in
- 7.0.94
mvn versions:use-dep-version -Dincludes=org.apache.tomcat.embed:tomcat-embed-core -DdepVersion=7.0.94 -DforceVersion=true- Affected
- >=9.0.0 <9.0.17
- Fixed in
- 9.0.17
mvn versions:use-dep-version -Dincludes=org.apache.tomcat:tomcat-catalina -DdepVersion=9.0.17 -DforceVersion=true- Affected
- >=8.5.0 <8.5.40
- Fixed in
- 8.5.40
mvn versions:use-dep-version -Dincludes=org.apache.tomcat:tomcat-catalina -DdepVersion=8.5.40 -DforceVersion=true- Affected
- >=7.0.0 <7.0.94
- Fixed in
- 7.0.94
mvn versions:use-dep-version -Dincludes=org.apache.tomcat:tomcat-catalina -DdepVersion=7.0.94 -DforceVersion=true- Affected
- >=9.0.0 <9.0.17
- Fixed in
- 9.0.17
mvn versions:use-dep-version -Dincludes=org.apache.tomcat:tomcat -DdepVersion=9.0.17 -DforceVersion=true- Affected
- >=8.5.0 <8.5.40
- Fixed in
- 8.5.40
mvn versions:use-dep-version -Dincludes=org.apache.tomcat:tomcat -DdepVersion=8.5.40 -DforceVersion=true- Affected
- >=7.0.0 <7.0.94
- Fixed in
- 7.0.94
mvn versions:use-dep-version -Dincludes=org.apache.tomcat:tomcat -DdepVersion=7.0.94 -DforceVersion=trueDetails
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.
Is GHSA-jjpq-gp5q-8q6w in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected org.apache.tomcat.embed:tomcat-embed-core, and gives you the command that fixes it.
More advisories for org.apache.tomcat.embed:tomcat-embed-core
- CriticalCVE-2026-65905Apache Tomcat's DIGEST authenticator has an Authentication Bypass by Capture-replay vulnerability · 26 Aug 2026
- CriticalCVE-2026-65637Apache Tomcat - HTTP/2 no-authority bypass of strict SNI validation · 26 Aug 2026
- CriticalCVE-2026-65182Apache Tomcat has an Improper Access Control, Incorrect Authorization vulnerability · 26 Aug 2026
- CriticalCVE-2026-68525Apache Tomcat's FORM authentication process has an Incorrect Authorization vulnerability · 26 Aug 2026
- CriticalCVE-2026-55276Apache Tomcat has an Always-Incorrect Control Flow Implementation vulnerability · 29 Jun 2026
- HighCVE-2026-55957Apache Tomcat has a Missing Critical Step in Authentication vulnerability · 29 Jun 2026
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2019-0221
- Linkgithub.com/apache/tomcat/commit/15fcd166ea2c1bb79e8541b8e1a43da9c452ceea
- Linkgithub.com/apache/tomcat/commit/44ec74c44dcd05cd7e90967c04d40b51440ecd7e
- Linkgithub.com/apache/tomcat/commit/4fcdf706f3ecf35912a600242f89637f5acb32da
- Linklists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZQTZ5BJ5F4KV6N53SGNKSW3UY5DBIQ46
- Linklists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NPHQEL5AQ6LZSZD2Y6TYZ4RC3WI7NXJ3
- Linklists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZQTZ5BJ5F4KV6N53SGNKSW3UY5DBIQ46
- Linkseclists.org/bugtraq/2019/Dec/43
- Linksecurity.gentoo.org/glsa/202003-43
- Linksecurity.netapp.com/advisory/ntap-20190606-0001
- Linksupport.f5.com/csp/article/K13184144?utm_source=f5support&%3Butm_medium=RSS
- Linksupport.f5.com/csp/article/K13184144?utm_source=f5support&utm_medium=RSS
- Linktomcat.apache.org/security-7.html
- Linktomcat.apache.org/security-8.html
- Linktomcat.apache.org/security-9.html
- Linkusn.ubuntu.com/4128-1
- Linkusn.ubuntu.com/4128-2
- Linkweb.archive.org/web/20200227055048/http://www.securityfocus.com/bid/108545
- Linkwww.debian.org/security/2019/dsa-4596
- Linkwww.oracle.com/security-alerts/cpuApr2021.html
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.