← Vulnerability feed

Vulnerability record · CVE-2008-1232 · published 4 August 2008

CVE-2008-1232: Apache Tomcat XSS via sendError message argument

Apache · Tomcat

Apache Tomcat versions 4.1.0 through 4.1.37, 5.5.0 through 5.5.26, and 6.0.0 through 6.0.16 do not properly neutralize a crafted string passed as the message argument to HttpServletResponse.sendError, resulting in reflected cross-site scripting. An attacker who can influence that message can cause arbitrary script or HTML to be rendered in a victim's browser in the context of the affected site.

4.3 CVSS 2.0 Medium EPSS 76% · top 0.5% CWE-79 · Cross-site scripting
4.3CVSS 2.0 base score
76%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
128References, 2 tagged exploit
16 Jun 2026Last modified by NVD

Description

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.

AV:N/AC:M/Au:N/C:N/I:P/A:N

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 18 September 2026. Confidence: high.

medium priorityThe CVSS 2.0 base score is 4.3 (medium) with partial integrity impact only, and there is no KEV listing or documented exploitation despite a high EPSS score.

What it is

Apache Tomcat versions 4.1.0 through 4.1.37, 5.5.0 through 5.5.26, and 6.0.0 through 6.0.16 do not properly neutralize a crafted string passed as the message argument to HttpServletResponse.sendError, resulting in reflected cross-site scripting. An attacker who can influence that message can cause arbitrary script or HTML to be rendered in a victim's browser in the context of the affected site.

Impact

An attacker can execute script in a victim's browser session, enabling session theft, credential capture, or page content manipulation within the vulnerable application's origin.

Attack surface

Reachable remotely over the network (AV:N) with no authentication required (Au:N); exploitation requires the victim to load a crafted link or page (AC:M), and the flaw is triggered through the sendError message argument.

Exploitation

Not listed in CISA KEV and no ransomware usage documented; EPSS is high (0.75865, 99.5th percentile), but the reference tags are advisory and mailing-list links only, with no public exploit tag.

What to do

  • Upgrade Tomcat to a release later than 4.1.37, 5.5.26, or 6.0.16, or to a currently supported branch.
  • Apply vendor or distribution patches for Tomcat and any bundled third-party products listed in the advisories.
  • Ensure the sendError message argument is not populated from untrusted request input, or HTML-encode it before use.
  • Deploy output encoding and a Content-Security-Policy to reduce script execution if injection occurs.

Detection

  • Search web and proxy logs for requests whose parameters or paths appear in Tomcat error responses containing script or HTML markup.
  • Monitor for reflected input in HTTP error pages generated by sendError, especially unusual query strings or headers.
  • Review application code and server configuration for sendError calls that pass user-controlled strings.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://community.ca.com/blogs/casecurityresponseblog/archive/2009/06/15/ca20090615-02-ca-service-desk-tomcat-cross-site- Broken Link
http://lists.apple.com/archives/security-announce/2008/Oct/msg00001.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2008-09/msg00004.html Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2009-02/msg00002.html Third Party Advisory
http://marc.info/?l=bugtraq&m=123376588623823&w=2 Mailing ListThird Party Advisory
http://marc.info/?l=bugtraq&m=139344343412337&w=2 Mailing ListThird Party Advisory
http://secunia.com/advisories/31379 Broken Link
http://secunia.com/advisories/31381 Broken Link
http://secunia.com/advisories/31639 Broken Link
http://secunia.com/advisories/31865 Broken Link
http://secunia.com/advisories/31891 Broken Link
http://secunia.com/advisories/31982 Broken Link
http://secunia.com/advisories/32120 Broken Link
http://secunia.com/advisories/32222 Broken Link
http://secunia.com/advisories/32266 Broken Link
http://secunia.com/advisories/33797 Broken Link
http://secunia.com/advisories/33999 Broken Link
http://secunia.com/advisories/34013 Broken Link
http://secunia.com/advisories/35474 Broken Link
http://secunia.com/advisories/36108 Broken Link
http://secunia.com/advisories/37460 Broken Link
http://secunia.com/advisories/57126 Broken Link
http://securityreason.com/securityalert/4098 Third Party Advisory
http://support.apple.com/kb/HT3216 Third Party Advisory
http://support.avaya.com/elmodocs2/security/ASA-2008-401.htm Third Party 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 Vendor Advisory
http://www.mandriva.com/security/advisories?name=MDVSA-2008:188 Third Party Advisory
http://www.redhat.com/support/errata/RHSA-2008-0648.html Third Party Advisory
http://www.redhat.com/support/errata/RHSA-2008-0862.html Third Party Advisory
http://www.redhat.com/support/errata/RHSA-2008-0864.html Third Party Advisory
http://www.securityfocus.com/archive/1/495021/100/0/threaded Third Party AdvisoryVDB Entry
http://www.securityfocus.com/archive/1/504351/100/0/threaded Third Party AdvisoryVDB Entry
http://www.securityfocus.com/archive/1/505556/100/0/threaded Third Party AdvisoryVDB Entry
http://www.securityfocus.com/archive/1/507985/100/0/threaded Third Party AdvisoryVDB Entry
http://www.securityfocus.com/bid/30496 ExploitPatchThird Party AdvisoryVDB Entry
http://www.securityfocus.com/bid/31681 Third Party AdvisoryVDB Entry
http://www.securitytracker.com/id?1020622 Third Party AdvisoryVDB Entry
http://www.vmware.com/security/advisories/VMSA-2009-0002.html Third Party Advisory

Track CVE-2008-1232 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2025-24813Apache Tomcat Default Servlet path equivalence enables RCE and file disclosureApache Tomcat mishandles path equivalence for names containing an internal dot, letting a remote unauthenticated attacker write files through the Def…KEVEPSS 100%analysed9.8CVE-2020-1938Apache Tomcat AJP connector file read and JSP execution flawApache Tomcat shipped an AJP Connector enabled by default that listened on all configured IP addresses, and Tomcat treats AJP connections as more tru…KEVEPSS 99%analysed9.8CVE-2016-8735Apache Tomcat JmxRemoteLifecycleListener remote code executionApache Tomcat's JmxRemoteLifecycleListener was not updated to match the Oracle CVE-2016-3427 credential-type fix, leaving a deserialization weakness …KEVEPSS 90%analysed8.1CVE-2017-12617Apache Tomcat Default Servlet JSP upload leads to remote code executionApache Tomcat with HTTP PUT enabled (for example, the Default servlet readonly parameter set to false) allows an attacker to upload a JSP file throug…KEVEPSS 100%analysed8.1CVE-2017-12615Apache Tomcat on Windows unrestricted JSP upload via HTTP PUTApache Tomcat 7.0.0 through 7.0.79 on Windows with HTTP PUT enabled (for example, Default servlet readonly set to false) allows an attacker to upload…KEVEPSS 100%analysed7.5CVE-2026-34486Apache Tomcat EncryptInterceptor bypass exposes sensitive dataApache Tomcat contains a missing encryption of sensitive data flaw: the fix for CVE-2026-29146 can be bypassed, allowing the EncryptInterceptor to be…KEVEPSS 6.6%analysed7.5CVE-2023-44487HTTP/2 Rapid Reset stream cancellation denial of serviceThe HTTP/2 protocol permits a client to cancel many streams quickly, and the server's handling of those resets consumes disproportionate resources. T…KEVEPSS 100%analysed9.8CVE-2026-65637Apache tomcat improper input validation vulnerabilityImproper Input Validation vulnerability in Apache Tomcat due to incomplete fix for CVE-2026-32990. This issue affects Apache Tomcat: from 11.0.20 thr…EPSS 0.74%

Source: NIST National Vulnerability Database (record CVE-2008-1232), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.