cve.bz

CVE-2009-0781 apache tomcat: Cross-site Scripting

no score yetEPSS 9.7%Fix available

apache tomcat: no CVSS score yet. EPSS 9.7% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.tomcat:tomcat 6.0.20.

On this page
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."
EPSS
9.7% (unchanged from 9.7% a week ago; 9.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 96th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-79 Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2009-0781 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2009-0781?via=ask-ai-copy and https://cve.bz/cve/CVE-2009-0781?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2009-0781 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
apache:tomcat4.1.0
apache:tomcat4.1.1
apache:tomcat4.1.2
apache:tomcat4.1.3
apache:tomcat4.1.3:beta
apache:tomcat4.1.4
apache:tomcat4.1.5
apache:tomcat4.1.6
apache:tomcat4.1.7
apache:tomcat4.1.8
apache:tomcat4.1.9
apache:tomcat4.1.9:beta
apache:tomcat4.1.10
apache:tomcat4.1.11
apache:tomcat4.1.12
apache:tomcat4.1.13
apache:tomcat4.1.14
apache:tomcat4.1.15
apache:tomcat4.1.16
apache:tomcat4.1.17
apache:tomcat4.1.18
apache:tomcat4.1.19
apache:tomcat4.1.20
apache:tomcat4.1.21
apache:tomcat4.1.22
apache:tomcat4.1.23
apache:tomcat4.1.24
apache:tomcat4.1.25
apache:tomcat4.1.26
apache:tomcat4.1.27
apache:tomcat4.1.28
apache:tomcat4.1.29
apache:tomcat4.1.30
apache:tomcat4.1.31
apache:tomcat4.1.32
apache:tomcat4.1.33
apache:tomcat4.1.34
apache:tomcat4.1.35
apache:tomcat4.1.36
apache:tomcat4.1.37
apache:tomcat5.5.0
apache:tomcat5.5.1
apache:tomcat5.5.2
apache:tomcat5.5.3
apache:tomcat5.5.4
apache:tomcat5.5.5
apache:tomcat5.5.6
apache:tomcat5.5.7
apache:tomcat5.5.8
apache:tomcat5.5.9
apache:tomcat5.5.10
apache:tomcat5.5.11
apache:tomcat5.5.12
apache:tomcat5.5.13
apache:tomcat5.5.14
apache:tomcat5.5.15
apache:tomcat5.5.16
apache:tomcat5.5.17
apache:tomcat5.5.18
apache:tomcat5.5.19
apache:tomcat5.5.20
apache:tomcat5.5.21
apache:tomcat5.5.22
apache:tomcat5.5.23
apache:tomcat5.5.24
apache:tomcat5.5.25
apache:tomcat5.5.26
apache:tomcat6.0
apache:tomcat6.0.0
apache:tomcat6.0.1
apache:tomcat6.0.2
apache:tomcat6.0.3
apache:tomcat6.0.4
apache:tomcat6.0.5
apache:tomcat6.0.6
apache:tomcat6.0.7
apache:tomcat6.0.8
apache:tomcat6.0.9
apache:tomcat6.0.10
apache:tomcat6.0.11
apache:tomcat6.0.12
apache:tomcat6.0.13
apache:tomcat6.0.14
apache:tomcat6.0.15
apache:tomcat6.0.16

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-j788-fx57-99wpMavenorg.apache.tomcat:tomcat>=4.1.0 <=4.1.39no fix published
GHSA-j788-fx57-99wpMavenorg.apache.tomcat:tomcat>=5.5.0 <=5.5.27no fix published
GHSA-j788-fx57-99wpMavenorg.apache.tomcat:tomcat>=6.0.0 <6.0.206.0.20

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian5.0tomcat5.55.5.26-5lenny2DSA-2207-1
Red Hatenterprise_linux:5::clienttomcat5, tomcat5-debuginfo, tomcat5-jsp-2.0-api and 1 more0:5.5.23-0jpp.7.el5_3.2RHSA-2009:1164
Red Hatenterprise_linux:5::client_workstationtomcat5, tomcat5-jasper, tomcat5-webapps and 7 more0:5.5.23-0jpp.7.el5_3.2RHSA-2009:1164
Red Hatenterprise_linux:5::servertomcat5, tomcat5-jasper, tomcat5-webapps and 9 more0:5.5.23-0jpp.7.el5_3.2RHSA-2009:1164
Red Hatrhel_application_server:2tomcat5, tomcat5-jasper, tomcat5-webapps and 8 more0:5.5.23-0jpp_4rh.16RHSA-2009:1562

From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat.

Red Hat

Red Hat rates this Low.

Red Hat's statement

Red Hat is aware of this issue and is tracking it via the following bug: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=CVE-2009-0781

The Red Hat Product Security has rated this issue as having low security impact, a future update may address this flaw. More information regarding issue severity can be found here: https://access.redhat.com/security/updates/classification/

ProductPackageStateAdvisory
Red Hat Enterprise Linux 5tomcat5-0:5.5.23-0jpp.7.el5_3.2Fixed 2009-07-21RHSA-2009:1164
RHAPS Version 2 for RHEL 4tomcat5-0:5.5.23-0jpp_4rh.16Fixed 2009-11-09RHSA-2009:1562

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2009-0781.

Attack patterns (CAPEC)

  • CAPEC-63 Cross-Site Scripting (XSS) Likelihood: High · Severity: Very High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-209 XSS Using MIME Type Mismatch Severity: Medium
  • CAPEC-588 DOM-Based XSS Likelihood: High · Severity: Very High
  • CAPEC-591 Reflected XSS Likelihood: High · Severity: Very High
  • CAPEC-592 Stored XSS Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON