# Apache Tomcat vulnerable to Cross-site Scripting

Advisory record · `GHSA-5c5p-jxvx-x7j2`

- **Identifiers:** `GHSA-5c5p-jxvx-x7j2` · `CVE-2007-2450`
- **State:** Confirmed
- **Severity:** No CVSS score
- **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:** 14 Feb 2024
- **Reviewed by a person:** No

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

## Affected packages

- `org.apache.tomcat:tomcat` (Maven): affected `>=4.0.0, <=4.0.6 || >=4.1.0, <4.1.37 || >=5.0.0, <=5.0.30 || >=5.5.0, <5.5.25 || >=6.0.0, <6.0.14`; fixed in `4.1.37`, `5.5.25`, `6.0.14`

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

No source has published a CVSS score for this record yet.

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

## Timeline

This record came from the full history of the GitHub Advisory Database, published 1 May 2022. New records show when each source confirmed them.

## Sources

- [GitHub Advisory Database: GHSA-5c5p-jxvx-x7j2](https://github.com/advisories/GHSA-5c5p-jxvx-x7j2)
- [OSV: GHSA-5c5p-jxvx-x7j2](https://osv.dev/vulnerability/GHSA-5c5p-jxvx-x7j2)
- <https://nvd.nist.gov/vuln/detail/CVE-2007-2450>
- <https://github.com/apache/tomcat/commit/1bc3bcb2848f478fd6674487d6dad507fd5dd686>
- <https://www.redhat.com/archives/fedora-package-announce/2007-November/msg00525.html>
- <https://web.archive.org/web/20201207215920/https://cxsecurity.com/issue/WLB-2007060074>
- <https://web.archive.org/web/20200809062244/http://www.securityfocus.com/archive/1/471357/100/0/threaded>
- <https://web.archive.org/web/20200517153851/http://www.securityfocus.com/archive/1/500412/100/0/threaded>
- <https://web.archive.org/web/20200517122628/http://www.securityfocus.com/archive/1/500396/100/0/threaded>
- <https://web.archive.org/web/20200229180652/http://www.securityfocus.com/bid/24475>
- <https://web.archive.org/web/20120809122231/http://secunia.com/advisories/30908>
- <https://web.archive.org/web/20090623202429/http://secunia.com/advisories/33668>
- <https://web.archive.org/web/20080801210056/http://secunia.com/advisories/30802>
- <https://web.archive.org/web/20080801204240/http://secunia.com/advisories/30899>

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-5c5p-jxvx-x7j2>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-5c5p-jxvx-x7j2/>. Everything for agents: <https://agentprime.io/llms.txt>.
