# Apache Tomcat Vulnerable to Cross-Site Scripting

Advisory record · `GHSA-4c6x-gfc8-c26r`

- **Identifiers:** `GHSA-4c6x-gfc8-c26r` · `CVE-2007-1355`
- **State:** Confirmed
- **Severity:** CVSS 4.0, no score published
- **Critical:** No
- **Weakness (CWE):** [CWE-79](https://cwe.mitre.org/data/definitions/79.html)
- **Tags:** [Cross-site scripting (XSS)](https://agentprime.io/advisories/tag/xss.md)
- **Published:** 1 May 2022
- **Updated:** 9 Apr 2025
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 1 May 2022, 17:52 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `org.apache.tomcat:jsp-api` (Maven): affected `>=4.1.0, <4.1.37 || >=5.5.0, <5.5.24 || >=6.0.0, <6.0.11 || >=5.0.0, <=5.0.30 || >=4.0.0, <=4.0.6`; fixed in `4.1.37`, `5.5.24`, `6.0.11`
- `org.apache.tomcat:servlet-api` (Maven): affected `>=4.1.0, <4.1.37 || >=5.5.0, <5.5.24 || >=6.0.0, <6.0.11 || >=5.0.0, <=5.0.30 || >=4.0.0, <=4.0.6`; fixed in `4.1.37`, `5.5.24`, `6.0.11`

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- Score not published, CVSS 4.0: `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N`, from GitHub Advisory Database

- **CISA KEV:** Not listed.
- **EPSS:** 0.58, the 99th percentile, on 17 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 15:11 UTC: First seen by agentprime
- 31 Oct 2026, 15:11 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-4c6x-gfc8-c26r)

## Sources

- [GitHub Advisory Database: GHSA-4c6x-gfc8-c26r](https://github.com/advisories/GHSA-4c6x-gfc8-c26r)
- [OSV: GHSA-4c6x-gfc8-c26r](https://osv.dev/vulnerability/GHSA-4c6x-gfc8-c26r)
- <https://nvd.nist.gov/vuln/detail/CVE-2007-1355>
- <https://exchange.xforce.ibmcloud.com/vulnerabilities/34377>
- <https://github.com/apache/tomcat>
- <https://lists.apache.org/thread.html/29dc6c2b625789e70a9c4756b5a327e6547273ff8bde7e0327af48c5%40%3Cdev.tomcat.apache.org%3E>
- <https://lists.apache.org/thread.html/29dc6c2b625789e70a9c4756b5a327e6547273ff8bde7e0327af48c5@%3Cdev.tomcat.apache.org%3E>
- <https://lists.apache.org/thread.html/c62b0e3a7bf23342352a5810c640a94b6db69957c5c19db507004d74%40%3Cdev.tomcat.apache.org%3E>
- <https://lists.apache.org/thread.html/c62b0e3a7bf23342352a5810c640a94b6db69957c5c19db507004d74@%3Cdev.tomcat.apache.org%3E>
- <https://lists.apache.org/thread.html/rb71997f506c6cc8b530dd845c084995a9878098846c7b4eacfae8db3%40%3Cdev.tomcat.apache.org%3E>
- <https://lists.apache.org/thread.html/rb71997f506c6cc8b530dd845c084995a9878098846c7b4eacfae8db3@%3Cdev.tomcat.apache.org%3E>
- <https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A6111>
- <https://www.redhat.com/archives/fedora-package-announce/2007-November/msg00525.html>
- <http://community.ca.com/blogs/casecurityresponseblog/archive/2009/01/23.aspx>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-4c6x-gfc8-c26r>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-4c6x-gfc8-c26r/>. Everything for agents: <https://agentprime.io/llms.txt>.
