Live threats

All CVEs / Apache

CVE-2009-0781Apache Tomcat

Medium 4.3 No auth needed

Priority
42
CVSS 2.0
4.3
EPSS
9.7%
probability of exploitation in 30 days · percentile 96
Auth required
No
Published
Mar 9, 2009
Updated
Jun 16, 2026
Category
Server · Cross-platform
Weakness (CWE)
CWE-79
Vector
AV:N/AC:M/Au:N/C:N/I:P/A:N

What happens

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."

Original NVD text.

What to do

  1. Apply the vendor's security update for Tomcat.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.apache.tomcat:tomcat ≥ 4.1.0 ≤ 4.1.39 no fixed version —
Maven org.apache.tomcat:tomcat ≥ 5.5.0 ≤ 5.5.27 no fixed version —
Maven org.apache.tomcat:tomcat ≥ 6.0.0 < 6.0.20 6.0.20 —

Per OSV / GitHub Advisories (GHSA-j788-fx57-99wp). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
apachetomcat4.1.0
apachetomcat4.1.1
apachetomcat4.1.2
apachetomcat4.1.3
apachetomcat4.1.3
apachetomcat4.1.4
apachetomcat4.1.5
apachetomcat4.1.6
apachetomcat4.1.7
apachetomcat4.1.8
apachetomcat4.1.9
apachetomcat4.1.9
apachetomcat4.1.10
apachetomcat4.1.11
apachetomcat4.1.12
apachetomcat4.1.13
apachetomcat4.1.14
apachetomcat4.1.15
apachetomcat4.1.16
apachetomcat4.1.17
apachetomcat4.1.18
apachetomcat4.1.19
apachetomcat4.1.20
apachetomcat4.1.21
apachetomcat4.1.22
apachetomcat4.1.23
apachetomcat4.1.24
apachetomcat4.1.25
apachetomcat4.1.26
apachetomcat4.1.27
apachetomcat4.1.28
apachetomcat4.1.29
apachetomcat4.1.30
apachetomcat4.1.31
apachetomcat4.1.32
apachetomcat4.1.33
apachetomcat4.1.34
apachetomcat4.1.35
apachetomcat4.1.36
apachetomcat4.1.37
apachetomcat5.5.0
apachetomcat5.5.1
apachetomcat5.5.2
apachetomcat5.5.3
apachetomcat5.5.4
apachetomcat5.5.5
apachetomcat5.5.6
apachetomcat5.5.7
apachetomcat5.5.8
apachetomcat5.5.9
apachetomcat5.5.10
apachetomcat5.5.11
apachetomcat5.5.12
apachetomcat5.5.13
apachetomcat5.5.14
apachetomcat5.5.15
apachetomcat5.5.16
apachetomcat5.5.17
apachetomcat5.5.18
apachetomcat5.5.19

and 25 more in the JSON

Official sources

References

Links published by the sources. Open them with care.