CVE-2009-0781 json
Cross-site scripting in Apache Tomcat
published 2009-03-09 17 y ago modified 2026-06-16 4 mo ago also GHSA-j788-fx57-99wp , EUVD-2022-4299
- cvss
- 4.3
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 9.7%
- EPSS 9.7% chance of exploitation in 30 days, percentile 95%
- public exploits
- 0
- none known
Summary
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."
Patch / fix
- maven org.apache.tomcat:tomcat 6.0.20
- tomcat5 RHEL 2 APPLICATION_SERVER 5.5.23-0jpp_4rh.16
- tomcat5-jasper RHEL 2 APPLICATION_SERVER 5.5.23-0jpp_4rh.16
- tomcat5-webapps RHEL 2 APPLICATION_SERVER 5.5.23-0jpp_4rh.16
- tomcat5-common-lib RHEL 2 APPLICATION_SERVER 5.5.23-0jpp_4rh.16
- tomcat5-server-lib RHEL 2 APPLICATION_SERVER 5.5.23-0jpp_4rh.16
- tomcat5-jsp-2.0-api RHEL 2 APPLICATION_SERVER 5.5.23-0jpp_4rh.16
- tomcat5-admin-webapps RHEL 2 APPLICATION_SERVER 5.5.23-0jpp_4rh.16
- tomcat5-jasper-javadoc RHEL 2 APPLICATION_SERVER 5.5.23-0jpp_4rh.16
red hat advisories RHSA-2009:1562RHSA-2009:1164
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2009-0781 updated cvss 4.3
tomcat: XSS in Apache Tomcat calendar application
-
Red Hat Application Server v2 4AS tomcat5 5.5.23-0jpp_4rh.16, tomcat5-jasper 5.5.23-0jpp_4rh.16, tomcat5-webapps 5.5.23-0jpp_4rh.16, tomcat5-common-lib 5.5.23-0jpp_4rh.16, tomcat5-server-lib 5.5.23-0jpp_4rh.16, tomcat5-jsp-2.0-api 5.5.23-0jpp_4rh.16, +5 more Red Hat Application Server v2 4ES tomcat5 5.5.23-0jpp_4rh.16, tomcat5-jasper 5.5.23-0jpp_4rh.16, tomcat5-webapps 5.5.23-0jpp_4rh.16, tomcat5-common-lib 5.5.23-0jpp_4rh.16, tomcat5-server-lib 5.5.23-0jpp_4rh.16, tomcat5-jsp-2.0-api 5.5.23-0jpp_4rh.16, +5 more Red Hat Application Server v2 4WS tomcat5 5.5.23-0jpp_4rh.16, tomcat5-jasper 5.5.23-0jpp_4rh.16, tomcat5-webapps 5.5.23-0jpp_4rh.16, tomcat5-common-lib 5.5.23-0jpp_4rh.16, tomcat5-server-lib 5.5.23-0jpp_4rh.16, tomcat5-jsp-2.0-api 5.5.23-0jpp_4rh.16, +5 morefixed: vendor fix RHSA-2009:1562
-
Red Hat Enterprise Linux (v. 5 server) tomcat5 5.5.23-0jpp.7.el5_3.2, tomcat5-jasper 5.5.23-0jpp.7.el5_3.2, tomcat5-webapps 5.5.23-0jpp.7.el5_3.2, tomcat5-common-lib 5.5.23-0jpp.7.el5_3.2, tomcat5-server-lib 5.5.23-0jpp.7.el5_3.2, tomcat5-jsp-2.0-api 5.5.23-0jpp.7.el5_3.2, +5 more Red Hat Enterprise Linux Desktop (v. 5 client) tomcat5 5.5.23-0jpp.7.el5_3.2, tomcat5-jasper 5.5.23-0jpp.7.el5_3.2, tomcat5-webapps 5.5.23-0jpp.7.el5_3.2, tomcat5-common-lib 5.5.23-0jpp.7.el5_3.2, tomcat5-server-lib 5.5.23-0jpp.7.el5_3.2, tomcat5-jsp-2.0-api 5.5.23-0jpp.7.el5_3.2, +5 more Red Hat Enterprise Linux Desktop Workstation (v. 5 client) tomcat5 5.5.23-0jpp.7.el5_3.2, tomcat5-jasper 5.5.23-0jpp.7.el5_3.2, tomcat5-webapps 5.5.23-0jpp.7.el5_3.2, tomcat5-common-lib 5.5.23-0jpp.7.el5_3.2, tomcat5-server-lib 5.5.23-0jpp.7.el5_3.2, tomcat5-jsp-2.0-api 5.5.23-0jpp.7.el5_3.2, +5 morefixed: vendor fix RHSA-2009:1164
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
9.72% chance of exploitation in the next 30 days, higher than 95% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.apache.tomcat:tomcat | >=4.1.0, <=4.1.39 >=5.5.0, <=5.5.27 >=6.0.0, <6.0.20 |
6.0.20 |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
marc.info
/?l=bugtraq&m=127420533226623&w=2
vendor-advisory
-
mandriva.com
/security/advisories?name=MDVSA-2009:138
vendor-advisory
-
redhat.com
/archives/fedora-package-announce/2009-November/msg01246.html
vendor-advisory, web
-
debian.org
/security/2011/dsa-2207
vendor-advisory
-
marc.info
/?l=bugtraq&m=136485229118404&w=2
vendor-advisory
-
lists.apple.com
/archives/security-announce/2010//Mar/msg00001.html
vendor-advisory, web
-
marc.info
/?l=bugtraq&m=133469267822771&w=2
vendor-advisory
-
redhat.com
/archives/fedora-package-announce/2009-November/msg01156.html
vendor-advisory, web
-
redhat.com
/archives/fedora-package-announce/2009-November/msg01216.html
vendor-advisory, web
-
lists.opensuse.org
/opensuse-security-announce/2009-07/msg00002.html
vendor-advisory, web
-
marc.info
/?l=bugtraq&m=129070310906557&w=2
vendor-advisory
-
mandriva.com
/security/advisories?name=MDVSA-2009:136
vendor-advisory
-
sunsolve.sun.com
/search/document.do?assetkey=1-26-263529-1
vendor-advisory
-
tomcat.apache.org
/security-4.html
vendor-advisory
-
tomcat.apache.org
/security-6.html
vendor-advisory
-
tomcat.apache.org
/security-5.html
vendor-advisory
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A6564
vdb-entry, signature, web
-
exchange.xforce.ibmcloud.com
/vulnerabilities/49213
vdb-entry, web
-
secunia.com
/advisories/37460
third-party-advisory
-
vupen.com
/english/advisories/2010/3056
vdb-entry
- vmware.com /security/advisories/VMSA-2009-0016.html
-
secunia.com
/advisories/35788
third-party-advisory
-
vupen.com
/english/advisories/2009/1856
vdb-entry
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11041
vdb-entry, signature, web
-
securityfocus.com
/archive/1/507985/100/0/threaded
mailing-list
-
secunia.com
/advisories/42368
third-party-advisory
- support.apple.com /kb/HT4077
-
secunia.com
/advisories/35685
third-party-advisory
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A19345
vdb-entry, signature, web
-
vupen.com
/english/advisories/2009/3316
vdb-entry
-
securityfocus.com
/archive/1/501538/100/0/threaded
mailing-list
-
lists.apache.org
/thread.html/29dc6c2b625789e70a9c4756b5a327e6547273ff8bde7e0327af48c5%40%3Cdev.tomcat.apache.org%3E
mailing-list, web
-
lists.apache.org
/thread.html/06cfb634bc7bf37af7d8f760f118018746ad8efbd519c4b789ac9c2e%40%3Cdev.tomcat.apache.org%3E
mailing-list, web
-
lists.apache.org
/thread.html/c62b0e3a7bf23342352a5810c640a94b6db69957c5c19db507004d74%40%3Cdev.tomcat.apache.org%3E
mailing-list, web
-
lists.apache.org
/thread.html/8dcaf7c3894d66cb717646ea1504ea6e300021c85bb4e677dc16b1aa%40%3Cdev.tomcat.apache.org%3E
mailing-list, web
-
lists.apache.org
/thread.html/r584a714f141eff7b1c358d4679288177bd4ca4558e9999d15867d4b5%40%3Cdev.tomcat.apache.org%3E
mailing-list, web
-
lists.apache.org
/thread.html/rb71997f506c6cc8b530dd845c084995a9878098846c7b4eacfae8db3%40%3Cdev.tomcat.apache.org%3E
mailing-list, web
-
lists.apache.org
/thread.html/r3aacc40356defc3f248aa504b1e48e819dd0471a0a83349080c6bcbf%40%3Cdev.tomcat.apache.org%3E
mailing-list, web
-
nvd.nist.gov
/vuln/detail/CVE-2009-0781
advisory
-
lists.apache.org
/thread.html/rb71997f506c6cc8b530dd845c084995a9878098846c7b4eacfae8db3@%3Cdev.tomcat.apache.org%3E
web
-
marc.info
/?l=bugtraq&m=127420533226623&w=2
web
-
marc.info
/?l=bugtraq&m=129070310906557&w=2
web
-
marc.info
/?l=bugtraq&m=133469267822771&w=2
web
-
marc.info
/?l=bugtraq&m=136485229118404&w=2
web
-
tomcat.apache.org
/security-4.html
web
-
tomcat.apache.org
/security-5.html
web
-
tomcat.apache.org
/security-6.html
web
-
debian.org
/security/2011/dsa-2207
web
-
access.redhat.com
/errata/RHSA-2009:1164
web
-
access.redhat.com
/errata/RHSA-2009:1562
web
-
access.redhat.com
/security/cve/CVE-2009-0781
web
-
bugzilla.redhat.com
/show_bug.cgi?id=489028
web
-
lists.apache.org
/thread.html/06cfb634bc7bf37af7d8f760f118018746ad8efbd519c4b789ac9c2e@%3Cdev.tomcat.apache.org%3E
web
-
lists.apache.org
/thread.html/29dc6c2b625789e70a9c4756b5a327e6547273ff8bde7e0327af48c5@%3Cdev.tomcat.apache.org%3E
web
-
lists.apache.org
/thread.html/8dcaf7c3894d66cb717646ea1504ea6e300021c85bb4e677dc16b1aa@%3Cdev.tomcat.apache.org%3E
web
-
lists.apache.org
/thread.html/c62b0e3a7bf23342352a5810c640a94b6db69957c5c19db507004d74@%3Cdev.tomcat.apache.org%3E
web
-
lists.apache.org
/thread.html/r3aacc40356defc3f248aa504b1e48e819dd0471a0a83349080c6bcbf@%3Cdev.tomcat.apache.org%3E
web
-
lists.apache.org
/thread.html/r584a714f141eff7b1c358d4679288177bd4ca4558e9999d15867d4b5@%3Cdev.tomcat.apache.org%3E
web
Sources
- CVE List CVE-2009-0781
- GitHub Advisory GHSA-j788-fx57-99wp
- NVD CVE-2009-0781
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.