MediumGHSA-j788-fx57-99wpCVE-2009-0781

Cross-site scripting in Apache Tomcat

Published 2 May 2022 · Updated 8 Nov 2023

Is your project on an affected org.apache.tomcat:tomcat?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected packages

Affected
>=4.1.0 <=4.1.39
Fixed in
No fix released
Affected
>=5.5.0 <=5.5.27
Fixed in
No fix released
Affected
>=6.0.0 <6.0.20
Fixed in
6.0.20
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.apache.tomcat:tomcat -DdepVersion=6.0.20 -DforceVersion=true

Details

Cross-site scripting (XSS) vulnerability in jsp/cal/cal2.jsp in the calendar application in the examples web application in Apache Tomcat 4.1.0 through 4.1.39, 5.5.0 through 5.5.27, and 6.0.0 through 6.0.18 allows remote attackers to inject arbitrary web script or HTML via the time parameter, related to "invalid HTML."

Is GHSA-j788-fx57-99wp 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:tomcat, and gives you the command that fixes it.

More advisories for org.apache.tomcat:tomcat

  • CriticalCVE-2026-65905Apache Tomcat's DIGEST authenticator has an Authentication Bypass by Capture-replay vulnerability · 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
  • HighCVE-2026-53404Apache Tomcat's rewrite valve has an Always-Incorrect Control Flow Implementation vulnerability · 29 Jun 2026
All 168 advisories for org.apache.tomcat:tomcat

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.