{"id":"CVE-2008-1232","published":"2008-08-04T01:00:00Z","modified":"2024-08-07T08:17:34Z","title":"Cross-site scripting (XSS) vulnerability in Apache Tomcat 4.1.0 through 4.1.37, 5.5.0 through 5.5.26, and 6.0.0…","vendor":null,"product":null,"tier":"core","eol":null,"description":{"text":"Cross-site scripting (XSS) vulnerability in Apache Tomcat 4.1.0 through 4.1.37, 5.5.0 through 5.5.26, and 6.0.0 through 6.0.16 allows remote attackers to inject arbitrary web script or HTML via a crafted string that is used in the message argument to the HttpServletResponse.sendError method.","provenance":"source","from":"CVE.org"},"summary":{"text":"The flaw is a cross-site scripting (XSS) vulnerability in Apache Tomcat, affecting versions 4.1.0 through 4.1.37, 5.5.0 through 5.5.26, and 6.0.0 through 6.0.16, where the message argument passed to the HttpServletResponse.sendError method is not properly sanitised. A remote attacker who supplies a crafted string as that message can inject arbitrary web script or HTML into the response.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:20:09Z"},"cvss":null,"epss":{"score":0.75865,"percentile":0.99525,"date":"2026-10-28","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[],"references":[{"url":"http://www.securitytracker.com/id?1020622","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A5985","tags":["vdb-entry","signature","x_refsource_OVAL"]},{"url":"http://tomcat.apache.org/security-4.html","tags":["x_refsource_CONFIRM"]},{"url":"http://www.redhat.com/support/errata/RHSA-2008-0862.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.vupen.com/english/advisories/2009/1609","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://www.vupen.com/english/advisories/2009/2194","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://secunia.com/advisories/34013","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://community.ca.com/blogs/casecurityresponseblog/archive/2009/06/15/ca20090615-02-ca-service-desk-tomcat-cross-site-scripting-vulnerability.aspx","tags":["x_refsource_CONFIRM"]},{"url":"http://www.vupen.com/english/advisories/2008/2823","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://secunia.com/advisories/37460","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.vmware.com/security/advisories/VMSA-2009-0002.html","tags":["x_refsource_CONFIRM"]},{"url":"http://secunia.com/advisories/31982","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.securityfocus.com/bid/31681","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://secunia.com/advisories/32120","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11181","tags":["vdb-entry","signature","x_refsource_OVAL"]},{"url":"http://www.vmware.com/security/advisories/VMSA-2009-0016.html","tags":["x_refsource_CONFIRM"]},{"url":"http://secunia.com/advisories/33999","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.securityfocus.com/bid/30496","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://secunia.com/advisories/31865","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://securityreason.com/securityalert/4098","tags":["third-party-advisory","x_refsource_SREASON"]},{"url":"https://www.redhat.com/archives/fedora-package-announce/2008-September/msg00889.html","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://support.ca.com/irj/portal/anonymous/phpsupcontent?contentID=214095","tags":["x_refsource_CONFIRM"]},{"url":"http://secunia.com/advisories/31639","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2008-09/msg00004.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://secunia.com/advisories/36108","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:188","tags":["vendor-advisory","x_refsource_MANDRIVA"]},{"url":"http://secunia.com/advisories/31379","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://support.avaya.com/elmodocs2/security/ASA-2008-401.htm","tags":["x_refsource_CONFIRM"]},{"url":"http://www.vupen.com/english/advisories/2009/0320","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://www.securityfocus.com/archive/1/507985/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://www.redhat.com/support/errata/RHSA-2008-0864.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2009-02/msg00002.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://tomcat.apache.org/security-6.html","tags":["x_refsource_CONFIRM"]},{"url":"http://secunia.com/advisories/57126","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/32222","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/31891","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/33797","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"https://support.ca.com/irj/portal/anonymous/phpsupcontent?contentID=209500","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securityfocus.com/archive/1/505556/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"https://www.redhat.com/archives/fedora-package-announce/2008-September/msg00712.html","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"http://www.vupen.com/english/advisories/2008/2305","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"https://www.redhat.com/archives/fedora-package-announce/2008-September/msg00859.html","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"http://www.securityfocus.com/archive/1/504351/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://tomcat.apache.org/security-5.html","tags":["x_refsource_CONFIRM"]},{"url":"http://secunia.com/advisories/35474","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.vupen.com/english/advisories/2008/2780","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://secunia.com/advisories/31381","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://marc.info/?l=bugtraq&m=123376588623823&w=2","tags":["vendor-advisory","x_refsource_HP"]},{"url":"http://marc.info/?l=bugtraq&m=139344343412337&w=2","tags":["vendor-advisory","x_refsource_HP"]},{"url":"http://lists.apple.com/archives/security-announce/2008/Oct/msg00001.html","tags":["vendor-advisory","x_refsource_APPLE"]},{"url":"http://support.apple.com/kb/HT3216","tags":["x_refsource_CONFIRM"]},{"url":"http://www.vupen.com/english/advisories/2009/0503","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://www.vupen.com/english/advisories/2009/3316","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/44155","tags":["vdb-entry","x_refsource_XF"]},{"url":"http://www.securityfocus.com/archive/1/495021/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://secunia.com/advisories/32266","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.redhat.com/support/errata/RHSA-2008-0648.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://lists.apache.org/thread.html/29dc6c2b625789e70a9c4756b5a327e6547273ff8bde7e0327af48c5%40%3Cdev.tomcat.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/06cfb634bc7bf37af7d8f760f118018746ad8efbd519c4b789ac9c2e%40%3Cdev.tomcat.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/c62b0e3a7bf23342352a5810c640a94b6db69957c5c19db507004d74%40%3Cdev.tomcat.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/8dcaf7c3894d66cb717646ea1504ea6e300021c85bb4e677dc16b1aa%40%3Cdev.tomcat.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r584a714f141eff7b1c358d4679288177bd4ca4558e9999d15867d4b5%40%3Cdev.tomcat.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/rb71997f506c6cc8b530dd845c084995a9878098846c7b4eacfae8db3%40%3Cdev.tomcat.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r3aacc40356defc3f248aa504b1e48e819dd0471a0a83349080c6bcbf%40%3Cdev.tomcat.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]}],"techniques":[],"reports":[],"affected":[{"ecosystem":"Maven","package":"org.apache.tomcat:tomcat","vulnerableRanges":[">=4.1.0, <4.1.38",">=5.5.0, <5.5.27",">=6.0.0, <6.0.17"],"patched":["4.1.38","5.5.27","6.0.17"],"from":["GHSA-q74x-qqhr-f8rx"],"provenance":"source"}],"advisories":[{"id":"GHSA-q74x-qqhr-f8rx","url":"https://github.com/advisories/GHSA-q74x-qqhr-f8rx","severity":"MODERATE","ecosystem":"Maven","package":"org.apache.tomcat:tomcat","vulnerableRanges":[">=4.1.0, <4.1.38"],"patched":["4.1.38"],"provenance":"source","from":"GHSA"},{"id":"GHSA-q74x-qqhr-f8rx","url":"https://github.com/advisories/GHSA-q74x-qqhr-f8rx","severity":"MODERATE","ecosystem":"Maven","package":"org.apache.tomcat:tomcat","vulnerableRanges":[">=5.5.0, <5.5.27"],"patched":["5.5.27"],"provenance":"source","from":"GHSA"},{"id":"GHSA-q74x-qqhr-f8rx","url":"https://github.com/advisories/GHSA-q74x-qqhr-f8rx","severity":"MODERATE","ecosystem":"Maven","package":"org.apache.tomcat:tomcat","vulnerableRanges":[">=6.0.0, <6.0.17"],"patched":["6.0.17"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2022-4908","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-4908","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[{"id":32138,"url":"https://www.exploit-db.com/exploits/32138","title":"Apache Tomcat 6.0.16 - 'HttpServletResponse.sendError()' Cross-Site Scripting","type":"remote","platform":"multiple","date":"2008-08-01","verified":true,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":1,"earliest":"2008-08-01"},"first":{"date":"2008-08-01","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/32138"},"provenance":"source"},"exploitRefs":[],"flow":[],"timeline":[{"date":"2008-08-01","kind":"exploit-public","label":"First public exploit: Exploit-DB (EDB-32138)","url":"https://www.exploit-db.com/exploits/32138","provenance":"source"},{"date":"2008-08-04","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2008-1232","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":"Exploit-DB","daysToKev":null},"priority":{"score":24.9,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.91,"detail":"percentile 0.9952"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 Exploit-DB entry"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":0.0,"detail":"no CVSS"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]},"lineage":{"packageHistory":[{"cve":"CVE-2007-2450","published":"2007-06-14","fixed":"6.0.14","kev":false},{"cve":"CVE-2007-5333","published":"2008-02-12","fixed":"6.0.15","kev":false,"link":{"from":"CVE-2007-5333","to":"CVE-2008-1232","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.apache.tomcat:tomcat","fromFixed":"4.1.37","toFixed":"4.1.38","daysApart":174}]}},{"cve":"CVE-2008-0002","published":"2008-02-12","fixed":"6.0.16","kev":false,"link":{"from":"CVE-2008-0002","to":"CVE-2008-1232","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.apache.tomcat:tomcat","fromFixed":"6.0.16","toFixed":"6.0.17","daysApart":174}]}},{"cve":"CVE-2008-1232","published":"2008-08-04","fixed":"6.0.17","kev":false},{"cve":"CVE-2008-1947","published":"2008-06-04","fixed":"6.0.18","kev":false},{"cve":"CVE-2008-2370","published":"2008-08-04","fixed":"6.0.18","kev":false,"link":{"from":"CVE-2008-1232","to":"CVE-2008-2370","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.apache.tomcat:tomcat","fromFixed":"6.0.17","toFixed":"6.0.18","daysApart":0}]}},{"cve":"CVE-2008-2938","published":"2008-08-13","fixed":"6.0.18","kev":false,"link":{"from":"CVE-2008-1232","to":"CVE-2008-2938","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.apache.tomcat:tomcat","fromFixed":"6.0.17","toFixed":"6.0.18","daysApart":9}]}}],"package":"Maven:org.apache.tomcat:tomcat"}}