CVE-2009-0781Apache Tomcat
Medium 4.3 No auth needed
Follow: this CVE · Apache · Apache Tomcat We alert you by email or Slack (account required).
- 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."
What to do
- Apply the vendor's security update for Tomcat.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| apache | tomcat | 4.1.0 |
| apache | tomcat | 4.1.1 |
| apache | tomcat | 4.1.2 |
| apache | tomcat | 4.1.3 |
| apache | tomcat | 4.1.3 |
| apache | tomcat | 4.1.4 |
| apache | tomcat | 4.1.5 |
| apache | tomcat | 4.1.6 |
| apache | tomcat | 4.1.7 |
| apache | tomcat | 4.1.8 |
| apache | tomcat | 4.1.9 |
| apache | tomcat | 4.1.9 |
| apache | tomcat | 4.1.10 |
| apache | tomcat | 4.1.11 |
| apache | tomcat | 4.1.12 |
| apache | tomcat | 4.1.13 |
| apache | tomcat | 4.1.14 |
| apache | tomcat | 4.1.15 |
| apache | tomcat | 4.1.16 |
| apache | tomcat | 4.1.17 |
| apache | tomcat | 4.1.18 |
| apache | tomcat | 4.1.19 |
| apache | tomcat | 4.1.20 |
| apache | tomcat | 4.1.21 |
| apache | tomcat | 4.1.22 |
| apache | tomcat | 4.1.23 |
| apache | tomcat | 4.1.24 |
| apache | tomcat | 4.1.25 |
| apache | tomcat | 4.1.26 |
| apache | tomcat | 4.1.27 |
| apache | tomcat | 4.1.28 |
| apache | tomcat | 4.1.29 |
| apache | tomcat | 4.1.30 |
| apache | tomcat | 4.1.31 |
| apache | tomcat | 4.1.32 |
| apache | tomcat | 4.1.33 |
| apache | tomcat | 4.1.34 |
| apache | tomcat | 4.1.35 |
| apache | tomcat | 4.1.36 |
| apache | tomcat | 4.1.37 |
| apache | tomcat | 5.5.0 |
| apache | tomcat | 5.5.1 |
| apache | tomcat | 5.5.2 |
| apache | tomcat | 5.5.3 |
| apache | tomcat | 5.5.4 |
| apache | tomcat | 5.5.5 |
| apache | tomcat | 5.5.6 |
| apache | tomcat | 5.5.7 |
| apache | tomcat | 5.5.8 |
| apache | tomcat | 5.5.9 |
| apache | tomcat | 5.5.10 |
| apache | tomcat | 5.5.11 |
| apache | tomcat | 5.5.12 |
| apache | tomcat | 5.5.13 |
| apache | tomcat | 5.5.14 |
| apache | tomcat | 5.5.15 |
| apache | tomcat | 5.5.16 |
| apache | tomcat | 5.5.17 |
| apache | tomcat | 5.5.18 |
| apache | tomcat | 5.5.19 |
and 25 more in the JSON
Official sources
References
Links published by the sources. Open them with care.
- lists.apple.com
- lists.opensuse.org
- marc.info
- marc.info
- marc.info
- marc.info
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- sunsolve.sun.com
- support.apple.com
- tomcat.apache.org Vendor Advisory
- tomcat.apache.org Vendor Advisory
- tomcat.apache.org Vendor Advisory
- www.debian.org
- www.mandriva.com
- www.mandriva.com
- www.securityfocus.com
- www.securityfocus.com
- www.vmware.com
- www.vupen.com
- www.vupen.com
- www.vupen.com
- exchange.xforce.ibmcloud.com
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- oval.cisecurity.org
- oval.cisecurity.org
- oval.cisecurity.org
- www.redhat.com
- www.redhat.com
- www.redhat.com