CVE-2009-0781
Cross-site scripting in Apache Tomcat
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."
Exploit likelihood
What each source reports
NVD Score used
4.3
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."
- Record
CVE-2009-0781- CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:P/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
CVE List No score
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."
- Record
CVE-2009-0781- Updated
- 2026-11-02
EUVDEUVD-2022-4299 No score
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."
- Record
EUVD-2022-4299- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-j788-fx57-99wp No score
Cross-site scripting in Apache Tomcat
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."
- Record
GHSA-j788-fx57-99wp- Weakness
- CWE-79
- Updated
- 2026-11-02
OSVGHSA-j788-fx57-99wp No score
Cross-site scripting in Apache Tomcat
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."
- Record
GHSA-j788-fx57-99wp- Weakness
- CWE-79
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
org.apache.tomcat:tomcatMaven |
4.1.0 to 4.1.39 | None known |
org.apache.tomcat:tomcatMaven |
5.5.0 to 5.5.27 | None known |
org.apache.tomcat:tomcatMaven |
6.0.0 to 6.0.18 | 6.0.20 |
tomcat5.5Debian:5.0 From an advisory covering 9 CVEs |
before 5.5.26-5lenny2, plus listed versions 5.5.26-5 |
5.5.26-5lenny2 |
org.apache.tomcat:tomcatMaven |
6.0.0 up to 6.0.20 | 6.0.20 |
tomcat5Red Hat:enterprise_linux:5::client_workstation From an advisory covering 6 CVEs |
before 0:5.5.23-0jpp.7.el5_3.2 | 0:5.5.23-0jpp.7.el5_3.2 |
tomcat5-admin-webappsRed Hat:enterprise_linux:5::client_workstation From an advisory covering 6 CVEs |
before 0:5.5.23-0jpp.7.el5_3.2 | 0:5.5.23-0jpp.7.el5_3.2 |
tomcat5-common-libRed Hat:enterprise_linux:5::client_workstation From an advisory covering 6 CVEs |
before 0:5.5.23-0jpp.7.el5_3.2 | 0:5.5.23-0jpp.7.el5_3.2 |
tomcat5-debuginfoRed Hat:enterprise_linux:5::client_workstation From an advisory covering 6 CVEs |
before 0:5.5.23-0jpp.7.el5_3.2 | 0:5.5.23-0jpp.7.el5_3.2 |
tomcat5-jasperRed Hat:enterprise_linux:5::client_workstation From an advisory covering 6 CVEs |
before 0:5.5.23-0jpp.7.el5_3.2 | 0:5.5.23-0jpp.7.el5_3.2 |
Show 32 moreShow less
| Package | Affected | Fixed |
|---|---|---|
tomcat5-jasper-javadocRed Hat:enterprise_linux:5::client_workstation From an advisory covering 6 CVEs |
before 0:5.5.23-0jpp.7.el5_3.2 | 0:5.5.23-0jpp.7.el5_3.2 |
tomcat5-jsp-2.0-api-javadocRed Hat:enterprise_linux:5::client_workstation From an advisory covering 6 CVEs |
before 0:5.5.23-0jpp.7.el5_3.2 | 0:5.5.23-0jpp.7.el5_3.2 |
tomcat5-server-libRed Hat:enterprise_linux:5::client_workstation From an advisory covering 6 CVEs |
before 0:5.5.23-0jpp.7.el5_3.2 | 0:5.5.23-0jpp.7.el5_3.2 |
tomcat5-servlet-2.4-api-javadocRed Hat:enterprise_linux:5::client_workstation From an advisory covering 6 CVEs |
before 0:5.5.23-0jpp.7.el5_3.2 | 0:5.5.23-0jpp.7.el5_3.2 |
tomcat5-webappsRed Hat:enterprise_linux:5::client_workstation From an advisory covering 6 CVEs |
before 0:5.5.23-0jpp.7.el5_3.2 | 0:5.5.23-0jpp.7.el5_3.2 |
tomcat5Red Hat:enterprise_linux:5::client From an advisory covering 6 CVEs |
before 0:5.5.23-0jpp.7.el5_3.2 | 0:5.5.23-0jpp.7.el5_3.2 |
tomcat5-debuginfoRed Hat:enterprise_linux:5::client From an advisory covering 6 CVEs |
before 0:5.5.23-0jpp.7.el5_3.2 | 0:5.5.23-0jpp.7.el5_3.2 |
tomcat5-jsp-2.0-apiRed Hat:enterprise_linux:5::client From an advisory covering 6 CVEs |
before 0:5.5.23-0jpp.7.el5_3.2 | 0:5.5.23-0jpp.7.el5_3.2 |
tomcat5-servlet-2.4-apiRed Hat:enterprise_linux:5::client From an advisory covering 6 CVEs |
before 0:5.5.23-0jpp.7.el5_3.2 | 0:5.5.23-0jpp.7.el5_3.2 |
tomcat5Red Hat:enterprise_linux:5::server From an advisory covering 6 CVEs |
before 0:5.5.23-0jpp.7.el5_3.2 | 0:5.5.23-0jpp.7.el5_3.2 |
tomcat5-admin-webappsRed Hat:enterprise_linux:5::server From an advisory covering 6 CVEs |
before 0:5.5.23-0jpp.7.el5_3.2 | 0:5.5.23-0jpp.7.el5_3.2 |
tomcat5-common-libRed Hat:enterprise_linux:5::server From an advisory covering 6 CVEs |
before 0:5.5.23-0jpp.7.el5_3.2 | 0:5.5.23-0jpp.7.el5_3.2 |
tomcat5-debuginfoRed Hat:enterprise_linux:5::server From an advisory covering 6 CVEs |
before 0:5.5.23-0jpp.7.el5_3.2 | 0:5.5.23-0jpp.7.el5_3.2 |
tomcat5-jasperRed Hat:enterprise_linux:5::server From an advisory covering 6 CVEs |
before 0:5.5.23-0jpp.7.el5_3.2 | 0:5.5.23-0jpp.7.el5_3.2 |
tomcat5-jasper-javadocRed Hat:enterprise_linux:5::server From an advisory covering 6 CVEs |
before 0:5.5.23-0jpp.7.el5_3.2 | 0:5.5.23-0jpp.7.el5_3.2 |
tomcat5-jsp-2.0-apiRed Hat:enterprise_linux:5::server From an advisory covering 6 CVEs |
before 0:5.5.23-0jpp.7.el5_3.2 | 0:5.5.23-0jpp.7.el5_3.2 |
tomcat5-jsp-2.0-api-javadocRed Hat:enterprise_linux:5::server From an advisory covering 6 CVEs |
before 0:5.5.23-0jpp.7.el5_3.2 | 0:5.5.23-0jpp.7.el5_3.2 |
tomcat5-server-libRed Hat:enterprise_linux:5::server From an advisory covering 6 CVEs |
before 0:5.5.23-0jpp.7.el5_3.2 | 0:5.5.23-0jpp.7.el5_3.2 |
tomcat5-servlet-2.4-apiRed Hat:enterprise_linux:5::server From an advisory covering 6 CVEs |
before 0:5.5.23-0jpp.7.el5_3.2 | 0:5.5.23-0jpp.7.el5_3.2 |
tomcat5-servlet-2.4-api-javadocRed Hat:enterprise_linux:5::server From an advisory covering 6 CVEs |
before 0:5.5.23-0jpp.7.el5_3.2 | 0:5.5.23-0jpp.7.el5_3.2 |
tomcat5-webappsRed Hat:enterprise_linux:5::server From an advisory covering 6 CVEs |
before 0:5.5.23-0jpp.7.el5_3.2 | 0:5.5.23-0jpp.7.el5_3.2 |
tomcat5Red Hat:rhel_application_server:2 From an advisory covering 6 CVEs |
before 0:5.5.23-0jpp_4rh.16 | 0:5.5.23-0jpp_4rh.16 |
tomcat5-admin-webappsRed Hat:rhel_application_server:2 From an advisory covering 6 CVEs |
before 0:5.5.23-0jpp_4rh.16 | 0:5.5.23-0jpp_4rh.16 |
tomcat5-common-libRed Hat:rhel_application_server:2 From an advisory covering 6 CVEs |
before 0:5.5.23-0jpp_4rh.16 | 0:5.5.23-0jpp_4rh.16 |
tomcat5-jasperRed Hat:rhel_application_server:2 From an advisory covering 6 CVEs |
before 0:5.5.23-0jpp_4rh.16 | 0:5.5.23-0jpp_4rh.16 |
tomcat5-jasper-javadocRed Hat:rhel_application_server:2 From an advisory covering 6 CVEs |
before 0:5.5.23-0jpp_4rh.16 | 0:5.5.23-0jpp_4rh.16 |
tomcat5-jsp-2.0-apiRed Hat:rhel_application_server:2 From an advisory covering 6 CVEs |
before 0:5.5.23-0jpp_4rh.16 | 0:5.5.23-0jpp_4rh.16 |
tomcat5-jsp-2.0-api-javadocRed Hat:rhel_application_server:2 From an advisory covering 6 CVEs |
before 0:5.5.23-0jpp_4rh.16 | 0:5.5.23-0jpp_4rh.16 |
tomcat5-server-libRed Hat:rhel_application_server:2 From an advisory covering 6 CVEs |
before 0:5.5.23-0jpp_4rh.16 | 0:5.5.23-0jpp_4rh.16 |
tomcat5-servlet-2.4-apiRed Hat:rhel_application_server:2 From an advisory covering 6 CVEs |
before 0:5.5.23-0jpp_4rh.16 | 0:5.5.23-0jpp_4rh.16 |
tomcat5-servlet-2.4-api-javadocRed Hat:rhel_application_server:2 From an advisory covering 6 CVEs |
before 0:5.5.23-0jpp_4rh.16 | 0:5.5.23-0jpp_4rh.16 |
tomcat5-webappsRed Hat:rhel_application_server:2 From an advisory covering 6 CVEs |
before 0:5.5.23-0jpp_4rh.16 | 0:5.5.23-0jpp_4rh.16 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2009-0781 is a medium vulnerability (CVSS 4.3) in Apache Tomcat, published March 9, 2009. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 9.72%, the 95th percentile. Fixed in org.apache.tomcat:tomcat 6.0.20.
References
tomcat.apache.org/security-4.html
marc.info?l=bugtraq&m=127420533226623&w=2
mandriva.com/security/advisories?name=MDVSA-2009:138
oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A6564
redhat.com/archives/fedora-package-announce/2009-November/msg01246.html
debian.org/security/2011/dsa-2207
Show 69 moreShow less
marc.info?l=bugtraq&m=136485229118404&w=2
exchange.xforce.ibmcloud.com/vulnerabilities/49213
secunia.com/advisories/37460
vupen.com/english/advisories/2010/3056
vmware.com/security/advisories/VMSA-2009-0016.html
secunia.com/advisories/35788
lists.apple.com/archives/security-announce/2010//Mar/msg00001.html
marc.info?l=bugtraq&m=133469267822771&w=2
vupen.com/english/advisories/2009/1856
oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11041
securityfocus.com/archive/1/507985/100/0/threaded
secunia.com/advisories/42368
tomcat.apache.org/security-6.html
support.apple.com/kb/HT4077
redhat.com/archives/fedora-package-announce/2009-November/msg01156.html
secunia.com/advisories/35685
oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A19345
redhat.com/archives/fedora-package-announce/2009-November/msg01216.html
tomcat.apache.org/security-5.html
lists.opensuse.org/opensuse-security-announce/2009-07/msg00002.html
marc.info?l=bugtraq&m=129070310906557&w=2
mandriva.com/security/advisories?name=MDVSA-2009:136
sunsolve.sun.com/search/document.do?assetkey=1-26-263529-1
vupen.com/english/advisories/2009/3316
securityfocus.com/archive/1/501538/100/0/threaded
lists.apache.org/thread.html/29dc6c2b625789e70a9c4756b5a327e6547273ff8bde7e0327af48c5%40%3Cdev.tomcat.apache.org%3E
lists.apache.org/thread.html/06cfb634bc7bf37af7d8f760f118018746ad8efbd519c4b789ac9c2e%40%3Cdev.tomcat.apache.org%3E
lists.apache.org/thread.html/c62b0e3a7bf23342352a5810c640a94b6db69957c5c19db507004d74%40%3Cdev.tomcat.apache.org%3E
lists.apache.org/thread.html/8dcaf7c3894d66cb717646ea1504ea6e300021c85bb4e677dc16b1aa%40%3Cdev.tomcat.apache.org%3E
lists.apache.org/thread.html/r584a714f141eff7b1c358d4679288177bd4ca4558e9999d15867d4b5%40%3Cdev.tomcat.apache.org%3E
lists.apache.org/thread.html/rb71997f506c6cc8b530dd845c084995a9878098846c7b4eacfae8db3%40%3Cdev.tomcat.apache.org%3E
lists.apache.org/thread.html/r3aacc40356defc3f248aa504b1e48e819dd0471a0a83349080c6bcbf%40%3Cdev.tomcat.apache.org%3E
nvd.nist.gov/vuln/detail/CVE-2009-0781
lists.apache.org/thread.html/06cfb634bc7bf37af7d8f760f118018746ad8efbd519c4b789ac9c2e@%3Cdev.tomcat.apache.org%3E
lists.apache.org/thread.html/29dc6c2b625789e70a9c4756b5a327e6547273ff8bde7e0327af48c5@%3Cdev.tomcat.apache.org%3E
lists.apache.org/thread.html/8dcaf7c3894d66cb717646ea1504ea6e300021c85bb4e677dc16b1aa@%3Cdev.tomcat.apache.org%3E
lists.apache.org/thread.html/c62b0e3a7bf23342352a5810c640a94b6db69957c5c19db507004d74@%3Cdev.tomcat.apache.org%3E
lists.apache.org/thread.html/r3aacc40356defc3f248aa504b1e48e819dd0471a0a83349080c6bcbf@%3Cdev.tomcat.apache.org%3E
lists.apache.org/thread.html/r584a714f141eff7b1c358d4679288177bd4ca4558e9999d15867d4b5@%3Cdev.tomcat.apache.org%3E
lists.apache.org/thread.html/rb71997f506c6cc8b530dd845c084995a9878098846c7b4eacfae8db3@%3Cdev.tomcat.apache.org%3E
access.redhat.com/errata/RHSA-2009:1164
access.redhat.com/errata/RHSA-2009:1562
access.redhat.com/security/cve/CVE-2009-0781
bugzilla.redhat.com/show_bug.cgi?id=489028
github.com/advisories/GHSA-j788-fx57-99wp
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=427766
bugzilla.redhat.com/show_bug.cgi?id=493381
bugzilla.redhat.com/show_bug.cgi?id=503978
bugzilla.redhat.com/show_bug.cgi?id=504153
bugzilla.redhat.com/show_bug.cgi?id=504753
security.access.redhat.com/data/csaf/v2/advisories/2009/rhsa-2009_1164.json
access.redhat.com/security/cve/CVE-2007-5333
cve.org/CVERecord?id=CVE-2007-5333
nvd.nist.gov/vuln/detail/CVE-2007-5333
access.redhat.com/security/cve/CVE-2008-5515
cve.org/CVERecord?id=CVE-2008-5515
nvd.nist.gov/vuln/detail/CVE-2008-5515
access.redhat.com/security/cve/CVE-2009-0033
cve.org/CVERecord?id=CVE-2009-0033
nvd.nist.gov/vuln/detail/CVE-2009-0033
access.redhat.com/security/cve/CVE-2009-0580
cve.org/CVERecord?id=CVE-2009-0580
nvd.nist.gov/vuln/detail/CVE-2009-0580
cve.org/CVERecord?id=CVE-2009-0781
access.redhat.com/security/cve/CVE-2009-0783
cve.org/CVERecord?id=CVE-2009-0783
nvd.nist.gov/vuln/detail/CVE-2009-0783
security.access.redhat.com/data/csaf/v2/advisories/2009/rhsa-2009_1562.json