CVE-2009-0781 apache tomcat: Cross-site Scripting
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
- 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
org.apache.tomcat:tomcat(Maven): fixed in 6.0.20- Debian, Red Hat: fixed package versions per release
- Vendor advisory: 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
Ask an AI about this CVE
Show the prompt
Explain 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.
| Product | Affected |
|---|---|
| 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:beta |
| 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:beta |
| 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 |
| apache:tomcat | 5.5.20 |
| apache:tomcat | 5.5.21 |
| apache:tomcat | 5.5.22 |
| apache:tomcat | 5.5.23 |
| apache:tomcat | 5.5.24 |
| apache:tomcat | 5.5.25 |
| apache:tomcat | 5.5.26 |
| apache:tomcat | 6.0 |
| apache:tomcat | 6.0.0 |
| apache:tomcat | 6.0.1 |
| apache:tomcat | 6.0.2 |
| apache:tomcat | 6.0.3 |
| apache:tomcat | 6.0.4 |
| apache:tomcat | 6.0.5 |
| apache:tomcat | 6.0.6 |
| apache:tomcat | 6.0.7 |
| apache:tomcat | 6.0.8 |
| apache:tomcat | 6.0.9 |
| apache:tomcat | 6.0.10 |
| apache:tomcat | 6.0.11 |
| apache:tomcat | 6.0.12 |
| apache:tomcat | 6.0.13 |
| apache:tomcat | 6.0.14 |
| apache:tomcat | 6.0.15 |
| apache:tomcat | 6.0.16 |
Packages (OSV)
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-j788-fx57-99wp | Maven | org.apache.tomcat:tomcat | >=4.1.0 <=4.1.39 | no fix published |
| GHSA-j788-fx57-99wp | Maven | org.apache.tomcat:tomcat | >=5.5.0 <=5.5.27 | no fix published |
| GHSA-j788-fx57-99wp | Maven | org.apache.tomcat:tomcat | >=6.0.0 <6.0.20 | 6.0.20 |
Linux distributions
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 5.0 | tomcat5.5 | 5.5.26-5lenny2 | DSA-2207-1 |
| Red Hat | enterprise_linux:5::client | tomcat5, tomcat5-debuginfo, tomcat5-jsp-2.0-api and 1 more | 0:5.5.23-0jpp.7.el5_3.2 | RHSA-2009:1164 |
| Red Hat | enterprise_linux:5::client_workstation | tomcat5, tomcat5-jasper, tomcat5-webapps and 7 more | 0:5.5.23-0jpp.7.el5_3.2 | RHSA-2009:1164 |
| Red Hat | enterprise_linux:5::server | tomcat5, tomcat5-jasper, tomcat5-webapps and 9 more | 0:5.5.23-0jpp.7.el5_3.2 | RHSA-2009:1164 |
| Red Hat | rhel_application_server:2 | tomcat5, tomcat5-jasper, tomcat5-webapps and 8 more | 0:5.5.23-0jpp_4rh.16 | RHSA-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 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/
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | tomcat5-0:5.5.23-0jpp.7.el5_3.2 | Fixed 2009-07-21 | RHSA-2009:1164 |
| RHAPS Version 2 for RHEL 4 | tomcat5-0:5.5.23-0jpp_4rh.16 | Fixed 2009-11-09 | RHSA-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
- http://tomcat.apache.org/security-4.html
- http://tomcat.apache.org/security-5.html
- http://tomcat.apache.org/security-6.html
- http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html
- http://lists.opensuse.org/opensuse-security-announce/2009-07/msg00002.html
- 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://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
- https://lists.apache.org/thread.html/06cfb634bc7bf37af7d8f760f118018746ad8efbd519c4b789ac9c2e%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/29dc6c2b625789e70a9c4756b5a327e6547273ff8bde7e0327af48c5%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/8dcaf7c3894d66cb717646ea1504ea6e300021c85bb4e677dc16b1aa%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/c62b0e3a7bf23342352a5810c640a94b6db69957c5c19db507004d74%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/r3aacc40356defc3f248aa504b1e48e819dd0471a0a83349080c6bcbf%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/r584a714f141eff7b1c358d4679288177bd4ca4558e9999d15867d4b5%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/rb71997f506c6cc8b530dd845c084995a9878098846c7b4eacfae8db3%40%3Cdev.tomcat.apache.org%3E
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11041
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A19345
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A6564
- https://www.redhat.com/archives/fedora-package-announce/2009-November/msg01156.html
- https://www.redhat.com/archives/fedora-package-announce/2009-November/msg01216.html
- https://www.redhat.com/archives/fedora-package-announce/2009-November/msg01246.html