CVE-2009-0781
MEDIUM 4.3CVSS 2.0Cross-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."
- Published
- 9 Mar 2009
- Last modified
- 16 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-j788-fx57-99wp
- Sources
- NVDJSONOSV GHSA-j788-fx57-99wpJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:4.1.0:*:*:*:*:*:*:* |
= 4.1.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:4.1.1:*:*:*:*:*:*:* |
= 4.1.1 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:4.1.2:*:*:*:*:*:*:* |
= 4.1.2 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:4.1.3:*:*:*:*:*:*:* |
= 4.1.3 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:4.1.3:beta:*:*:*:*:*:* |
= 4.1.3 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:4.1.4:*:*:*:*:*:*:* |
= 4.1.4 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:4.1.5:*:*:*:*:*:*:* |
= 4.1.5 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:4.1.6:*:*:*:*:*:*:* |
= 4.1.6 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:4.1.7:*:*:*:*:*:*:* |
= 4.1.7 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:4.1.8:*:*:*:*:*:*:* |
= 4.1.8 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:4.1.9:*:*:*:*:*:*:* |
= 4.1.9 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:4.1.9:beta:*:*:*:*:*:* |
= 4.1.9 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:4.1.10:*:*:*:*:*:*:* |
= 4.1.10 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:4.1.11:*:*:*:*:*:*:* |
= 4.1.11 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:4.1.12:*:*:*:*:*:*:* |
= 4.1.12 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:4.1.13:*:*:*:*:*:*:* |
= 4.1.13 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:4.1.14:*:*:*:*:*:*:* |
= 4.1.14 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:4.1.15:*:*:*:*:*:*:* |
= 4.1.15 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:4.1.16:*:*:*:*:*:*:* |
= 4.1.16 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:4.1.17:*:*:*:*:*:*:* |
= 4.1.17 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:4.1.18:*:*:*:*:*:*:* |
= 4.1.18 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:4.1.19:*:*:*:*:*:*:* |
= 4.1.19 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:4.1.20:*:*:*:*:*:*:* |
= 4.1.20 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:4.1.21:*:*:*:*:*:*:* |
= 4.1.21 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:4.1.22:*:*:*:*:*:*:* |
= 4.1.22 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:4.1.23:*:*:*:*:*:*:* |
= 4.1.23 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:4.1.24:*:*:*:*:*:*:* |
= 4.1.24 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:4.1.25:*:*:*:*:*:*:* |
= 4.1.25 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:4.1.26:*:*:*:*:*:*:* |
= 4.1.26 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:4.1.27:*:*:*:*:*:*:* |
= 4.1.27 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:4.1.28:*:*:*:*:*:*:* |
= 4.1.28 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:4.1.29:*:*:*:*:*:*:* |
= 4.1.29 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:4.1.30:*:*:*:*:*:*:* |
= 4.1.30 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:4.1.31:*:*:*:*:*:*:* |
= 4.1.31 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:4.1.32:*:*:*:*:*:*:* |
= 4.1.32 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:4.1.33:*:*:*:*:*:*:* |
= 4.1.33 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:4.1.34:*:*:*:*:*:*:* |
= 4.1.34 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:4.1.35:*:*:*:*:*:*:* |
= 4.1.35 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:4.1.36:*:*:*:*:*:*:* |
= 4.1.36 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:4.1.37:*:*:*:*:*:*:* |
= 4.1.37 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:5.5.0:*:*:*:*:*:*:* |
= 5.5.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:5.5.1:*:*:*:*:*:*:* |
= 5.5.1 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:5.5.2:*:*:*:*:*:*:* |
= 5.5.2 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:5.5.3:*:*:*:*:*:*:* |
= 5.5.3 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:5.5.4:*:*:*:*:*:*:* |
= 5.5.4 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:5.5.5:*:*:*:*:*:*:* |
= 5.5.5 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:5.5.6:*:*:*:*:*:*:* |
= 5.5.6 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:5.5.7:*:*:*:*:*:*:* |
= 5.5.7 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:5.5.8:*:*:*:*:*:*:* |
= 5.5.8 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:5.5.9:*:*:*:*:*:*:* |
= 5.5.9 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:5.5.10:*:*:*:*:*:*:* |
= 5.5.10 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:5.5.11:*:*:*:*:*:*:* |
= 5.5.11 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:5.5.12:*:*:*:*:*:*:* |
= 5.5.12 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:5.5.13:*:*:*:*:*:*:* |
= 5.5.13 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:5.5.14:*:*:*:*:*:*:* |
= 5.5.14 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:5.5.15:*:*:*:*:*:*:* |
= 5.5.15 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:5.5.16:*:*:*:*:*:*:* |
= 5.5.16 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:5.5.17:*:*:*:*:*:*:* |
= 5.5.17 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:5.5.18:*:*:*:*:*:*:* |
= 5.5.18 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:5.5.19:*:*:*:*:*:*:* |
= 5.5.19 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:5.5.20:*:*:*:*:*:*:* |
= 5.5.20 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:5.5.21:*:*:*:*:*:*:* |
= 5.5.21 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:5.5.22:*:*:*:*:*:*:* |
= 5.5.22 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:5.5.23:*:*:*:*:*:*:* |
= 5.5.23 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:5.5.24:*:*:*:*:*:*:* |
= 5.5.24 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:5.5.25:*:*:*:*:*:*:* |
= 5.5.25 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:5.5.26:*:*:*:*:*:*:* |
= 5.5.26 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:6.0:*:*:*:*:*:*:* |
= 6.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:6.0.0:*:*:*:*:*:*:* |
= 6.0.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:6.0.1:*:*:*:*:*:*:* |
= 6.0.1 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:6.0.2:*:*:*:*:*:*:* |
= 6.0.2 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:6.0.3:*:*:*:*:*:*:* |
= 6.0.3 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:6.0.4:*:*:*:*:*:*:* |
= 6.0.4 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:6.0.5:*:*:*:*:*:*:* |
= 6.0.5 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:6.0.6:*:*:*:*:*:*:* |
= 6.0.6 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:6.0.7:*:*:*:*:*:*:* |
= 6.0.7 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:6.0.8:*:*:*:*:*:*:* |
= 6.0.8 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:6.0.9:*:*:*:*:*:*:* |
= 6.0.9 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:6.0.10:*:*:*:*:*:*:* |
= 6.0.10 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:6.0.11:*:*:*:*:*:*:* |
= 6.0.11 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:6.0.12:*:*:*:*:*:*:* |
= 6.0.12 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:6.0.13:*:*:*:*:*:*:* |
= 6.0.13 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:6.0.14:*:*:*:*:*:*:* |
= 6.0.14 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:6.0.15:*:*:*:*:*:*:* |
= 6.0.15 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:6.0.16:*:*:*:*:*:*:* |
= 6.0.16 | |
| OSV | Maven | org.apache.tomcat:tomcat | >= 4.1.0, <= 4.1.39 | |
| OSV | Maven | org.apache.tomcat:tomcat | >= 5.5.0, <= 5.5.27 | |
| OSV | Maven | org.apache.tomcat:tomcat | >= 6.0.0, < 6.0.20 | 6.0.20 |
References
- http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html · WEB
- http://lists.opensuse.org/opensuse-security-announce/2009-07/msg00002.html · WEB
- http://marc.info/?l=bugtraq&m=127420533226623&w=2
- http://marc.info/?l=bugtraq&m=129070310906557&w=2
- http://marc.info/?l=bugtraq&m=133469267822771&w=2
- http://marc.info/?l=bugtraq&m=136485229118404&w=2
- http://secunia.com/advisories/35685
- http://secunia.com/advisories/35788
- http://secunia.com/advisories/37460
- http://secunia.com/advisories/42368
- http://sunsolve.sun.com/search/document.do?assetkey=1-26-263529-1
- http://support.apple.com/kb/HT4077
- http://tomcat.apache.org/security-4.html · Vendor Advisory
- http://tomcat.apache.org/security-5.html · Vendor Advisory
- http://tomcat.apache.org/security-6.html · Vendor Advisory
- http://www.debian.org/security/2011/dsa-2207
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:136
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:138
- http://www.securityfocus.com/archive/1/501538/100/0/threaded
- http://www.securityfocus.com/archive/1/507985/100/0/threaded
- http://www.vmware.com/security/advisories/VMSA-2009-0016.html
- http://www.vupen.com/english/advisories/2009/1856
- http://www.vupen.com/english/advisories/2009/3316
- http://www.vupen.com/english/advisories/2010/3056
- https://exchange.xforce.ibmcloud.com/vulnerabilities/49213 · WEB
- https://lists.apache.org/thread.html/06cfb634bc7bf37af7d8f760f118018746ad8efbd519c4b789ac9c2e%40%3Cdev.tomcat.apache.org%3E · WEB
- https://lists.apache.org/thread.html/29dc6c2b625789e70a9c4756b5a327e6547273ff8bde7e0327af48c5%40%3Cdev.tomcat.apache.org%3E · WEB
- https://lists.apache.org/thread.html/8dcaf7c3894d66cb717646ea1504ea6e300021c85bb4e677dc16b1aa%40%3Cdev.tomcat.apache.org%3E · WEB
- https://lists.apache.org/thread.html/c62b0e3a7bf23342352a5810c640a94b6db69957c5c19db507004d74%40%3Cdev.tomcat.apache.org%3E · WEB
- https://lists.apache.org/thread.html/r3aacc40356defc3f248aa504b1e48e819dd0471a0a83349080c6bcbf%40%3Cdev.tomcat.apache.org%3E · WEB
- https://lists.apache.org/thread.html/r584a714f141eff7b1c358d4679288177bd4ca4558e9999d15867d4b5%40%3Cdev.tomcat.apache.org%3E · WEB
- https://lists.apache.org/thread.html/rb71997f506c6cc8b530dd845c084995a9878098846c7b4eacfae8db3%40%3Cdev.tomcat.apache.org%3E · WEB
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11041 · WEB
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A19345 · WEB
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A6564 · WEB
- https://www.redhat.com/archives/fedora-package-announce/2009-November/msg01156.html · WEB
- https://www.redhat.com/archives/fedora-package-announce/2009-November/msg01216.html · WEB
- https://www.redhat.com/archives/fedora-package-announce/2009-November/msg01246.html · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2009-0781 · ADVISORY
- https://lists.apache.org/thread.html/rb71997f506c6cc8b530dd845c084995a9878098846c7b4eacfae8db3@%3Cdev.tomcat.apache.org%3E · WEB
- https://marc.info/?l=bugtraq&m=127420533226623&w=2 · WEB
- https://marc.info/?l=bugtraq&m=129070310906557&w=2 · WEB
- https://marc.info/?l=bugtraq&m=133469267822771&w=2 · WEB
- https://marc.info/?l=bugtraq&m=136485229118404&w=2 · WEB
- https://tomcat.apache.org/security-4.html · WEB
- https://tomcat.apache.org/security-5.html · WEB
- https://tomcat.apache.org/security-6.html · WEB
- https://www.debian.org/security/2011/dsa-2207 · WEB
- https://access.redhat.com/errata/RHSA-2009:1164 · WEB
- https://access.redhat.com/errata/RHSA-2009:1562 · WEB
- https://access.redhat.com/security/cve/CVE-2009-0781 · WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=489028 · WEB
- https://lists.apache.org/thread.html/06cfb634bc7bf37af7d8f760f118018746ad8efbd519c4b789ac9c2e@%3Cdev.tomcat.apache.org%3E · WEB
- https://lists.apache.org/thread.html/29dc6c2b625789e70a9c4756b5a327e6547273ff8bde7e0327af48c5@%3Cdev.tomcat.apache.org%3E · WEB
- https://lists.apache.org/thread.html/8dcaf7c3894d66cb717646ea1504ea6e300021c85bb4e677dc16b1aa@%3Cdev.tomcat.apache.org%3E · WEB
- https://lists.apache.org/thread.html/c62b0e3a7bf23342352a5810c640a94b6db69957c5c19db507004d74@%3Cdev.tomcat.apache.org%3E · WEB
- https://lists.apache.org/thread.html/r3aacc40356defc3f248aa504b1e48e819dd0471a0a83349080c6bcbf@%3Cdev.tomcat.apache.org%3E · WEB
- https://lists.apache.org/thread.html/r584a714f141eff7b1c358d4679288177bd4ca4558e9999d15867d4b5@%3Cdev.tomcat.apache.org%3E · WEB
History
- 25 Nov 2026 20:14 UTC · NVD: first stored (published 9 Mar 2009)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 2 May 2022)