# RFD attack via Content-Disposition header sourced from request input by Spring MVC or Spring WebFlux Application

Advisory record · `GHSA-8wx2-9q48-vm9r`

- **Identifiers:** `GHSA-8wx2-9q48-vm9r` · `CVE-2020-5398`
- **State:** Confirmed
- **Severity:** CVSS 8.0 High
- **Critical:** Yes: CVSS 7+ and EPSS
- **Weakness (CWE):** [CWE-79](https://cwe.mitre.org/data/definitions/79.html) · [CWE-494](https://cwe.mitre.org/data/definitions/494.html)
- **Tags:** [Cross-site scripting (XSS)](https://agentprime.io/advisories/tag/xss.md) · [CWE-494](https://agentprime.io/advisories/tag/cwe-494.md)
- **Published:** 21 Jan 2020
- **Updated:** 10 Sept 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 21 Jan 2020, 20:59 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Critical

Critical, because:

- CVSS score 8.0 (7.0 or more) and EPSS 0.88 (0.1 or more): a high score and a real chance of exploitation in the next 30 days.

How we decide what’s critical: <https://agentprime.io/advisories/critical.md>

## Affected packages

- `org.springframework:spring-webmvc` (Maven): affected `>=5.2.0.RELEASE, <5.2.3.RELEASE || >=5.1.0.RELEASE, <5.1.13.RELEASE || >=5.0.0.RELEASE, <5.0.16.RELEASE`; fixed in `5.2.3.RELEASE`, `5.1.13.RELEASE`, `5.0.16.RELEASE`
- `org.springframework:spring-webflux` (Maven): affected `>=5.2.0.RELEASE, <5.2.3.RELEASE || >=5.1.0.RELEASE, <5.1.13.RELEASE || >=5.0.0.RELEASE, <5.0.16.RELEASE`; fixed in `5.2.3.RELEASE`, `5.1.13.RELEASE`, `5.0.16.RELEASE`

## Machine-written summary

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

> Spring Framework's spring-webmvc and spring-webflux packages are affected in versions 5.2.0 before 5.2.3, 5.1.0 before 5.1.13, and 5.0.0 before 5.0.16. An application is vulnerable when it sets a Content-Disposition response header whose filename comes from user-supplied input, which allows a reflected file download attack. Upgrade to spring-webmvc or spring-webflux 5.2.3, 5.1.13, or 5.0.16, depending on your release line.

Written 2 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

- 8.0 High, CVSS 3.0: `CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H`, from CNA (pivotal)

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

## Timeline

- 31 Oct 2026, 14:18 UTC: First seen by agentprime
- 31 Oct 2026, 14:18 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-8wx2-9q48-vm9r)

## Sources

- [GitHub Advisory Database: GHSA-8wx2-9q48-vm9r](https://github.com/advisories/GHSA-8wx2-9q48-vm9r)
- [OSV: GHSA-8wx2-9q48-vm9r](https://osv.dev/vulnerability/GHSA-8wx2-9q48-vm9r)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-5398>
- <https://github.com/spring-projects/spring-framework/commit/41f40c6c229d3b4f768718f1ec229d8f0ad76d76>
- <https://lists.apache.org/thread.html/r8cc37a60a5056351377ee5f1258f2a4fdd39822a257838ba6bcc1e88@%3Ccommits.karaf.apache.org%3E>
- <https://lists.apache.org/thread.html/r9f13cccb214495e14648d2c9b8f2c6072fd5219e74502dd35ede81e1@%3Cdev.ambari.apache.org%3E>
- <https://lists.apache.org/thread.html/r9fb1ee08cf337d16c3364feb0f35a072438c1a956afd7b77859aa090@%3Cissues.karaf.apache.org%3E>
- <https://lists.apache.org/thread.html/ra996b56e1f5ab2fed235a8b91fa0cc3cf34c2e9fee290b7fa4380a0d@%3Ccommits.servicecomb.apache.org%3E>
- <https://lists.apache.org/thread.html/rab0de39839b4c208dcd73f01e12899dc453361935a816a784548e048@%3Cissues.karaf.apache.org%3E>
- <https://lists.apache.org/thread.html/rb4d1fc078f086ec2e98b2693e8b358e58a6a4ef903ceed93a1ee2b18@%3Ccommits.karaf.apache.org%3E>
- <https://lists.apache.org/thread.html/rc05acaacad089613e9642f939b3a44f7199b5537493945c3e045287f@%3Cdev.geode.apache.org%3E>
- <https://lists.apache.org/thread.html/rc9c7f96f08c8554225dba9050ea5e64bebc129d0d836303143fe3160@%3Cdev.rocketmq.apache.org%3E>
- <https://lists.apache.org/thread.html/rdcaadaa9a68b31b7d093d76eacfaacf6c7a819f976b595c75ad2d4dc@%3Cdev.geode.apache.org%3E>
- <https://lists.apache.org/thread.html/rded5291e25a4c4085a6d43cf262e479140198bf4eabb84986e0a1ef3@%3Cdev.rocketmq.apache.org%3E>

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

---

The web page: <https://agentprime.io/advisories/GHSA-8wx2-9q48-vm9r/>. Everything for agents: <https://agentprime.io/llms.txt>.
