# Cross-Site Request Forgery in Spring Framework

Advisory record · `GHSA-8cmm-qj8g-fcp6`

- **Identifiers:** `GHSA-8cmm-qj8g-fcp6` · `CVE-2014-0054`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **Weakness (CWE):** [CWE-352](https://cwe.mitre.org/data/definitions/352.html)
- **Tags:** [Cross-site request forgery (CSRF)](https://agentprime.io/advisories/tag/csrf.md)
- **Published:** 13 May 2022
- **Updated:** 4 Dec 2024
- **Reviewed by a person:** No

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

## Affected packages

- `org.springframework:spring-webmvc` (Maven): affected `<3.2.8 || >=4.0.0, <4.0.2`; fixed in `3.2.8`, `4.0.2`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Spring Framework's spring-webmvc package is vulnerable in versions before 3.2.8 and from 4.0.0 before 4.0.2. The Jaxb2RootElementHttpMessageConverter does not disable external entity resolution, so a remote attacker can send crafted XML to read arbitrary files, cause a denial of service, or conduct CSRF attacks. Upgrade to spring-webmvc 3.2.8 or 4.0.2, or later.

Written 8 Nov 2026.

## 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.91, 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:12 UTC: First seen by agentprime
- 31 Oct 2026, 15:12 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-8cmm-qj8g-fcp6)

## Sources

- [GitHub Advisory Database: GHSA-8cmm-qj8g-fcp6](https://github.com/advisories/GHSA-8cmm-qj8g-fcp6)
- [OSV: GHSA-8cmm-qj8g-fcp6](https://osv.dev/vulnerability/GHSA-8cmm-qj8g-fcp6)
- <https://nvd.nist.gov/vuln/detail/CVE-2014-0054>
- <https://github.com/spring-projects/spring-framework/issues/16003>
- <https://github.com/spring-projects/spring-framework/commit/1a8629d40825c073b6863ae2ab748b647b28506a>
- <https://github.com/spring-projects/spring-framework/commit/1c5cab2a4069ec3239c531d741aeb07a434f521b>
- <https://github.com/spring-projects/spring-framework/commit/edba32b3093703d5e9ed42b5b8ec23ecc1998398>
- <https://github.com/spring-projects/spring-framework/commit/fb0683c066e74e9667d6cd8c5fa01f674c68c3be>
- <http://rhn.redhat.com/errata/RHSA-2014-0400.html>
- <http://www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html>

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-8cmm-qj8g-fcp6>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-8cmm-qj8g-fcp6/>. Everything for agents: <https://agentprime.io/llms.txt>.
