Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-41234

MEDIUM 6.5EPSS 52%

RFD Attack via “Content-Disposition” Header Sourced from Request

Also known as GHSA-6r3c-xf4w-jxjm

Mitigation

  • Upgrade org.springframework:spring-web to one of 6.2.8, 6.1.21 (or later in the same release line).

Who should check

  • Projects that depend on Maven package org.springframework:spring-web (>= 6.2.0, < 6.2.8)
  • Anyone running VMware Spring Framework >= 6.0.5, <= 6.0.28; >= 6.1.0, <= 6.1.20; >= 6.2.0, <= 6.2.7

Vulnerability facts

Affected
org.springframework:spring-web >= 6.2.0, < 6.2.8
Fixed in
6.2.8, 6.1.21
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, login needed
CVSS
6.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: High
  • Privileges required: Low
  • User interaction: Required
  • Scope: Changed (impact reaches other components)
  • Confidentiality impact: High
  • Integrity impact: Low
  • Availability impact: None
EPSS
0.77% chance of exploitation in 30 days (percentile 52, 2026-11-26)
CWE
CWE-113
Published
Modified

Description

Description In Spring Framework, versions 6.0.x as of 6.0.5, versions 6.1.x and 6.2.x, an application is vulnerable to a reflected file download (RFD) attack when it sets a “Content-Disposition” header with a non-ASCII charset, where the filename attribute is derived from user-supplied input. Specifically, an application is vulnerable when all the following are true: * The header is prepared with org.springframework.http.ContentDisposition. * The filename is set via ContentDisposition.Builder#filename(String, Charset). * The value for the filename is derived from user-supplied input. * The application does not sanitize the user-supplied input. * The downloaded content of the response is injected with malicious commands by the attacker (see RFD paper reference for details). An application is not vulnerable if any of the following is true: * The application does not set a “Content-Disposition” response header. * The header is not prepared with org.springframework.http.ContentDisposition. * The filename is set via one of: * ContentDisposition.Builder#filename(String), or * ContentDisposition.Builder#filename(String, ASCII) * The filename is not derived from user-supplied input. * The filename is derived from user-supplied input but sanitized by the application. * The attacker cannot inject malicious content in the downloaded content of the response. Affected Spring Products and VersionsSpring Framework: * 6.2.0 - 6.2.7 * 6.1.0 - 6.1.20 * 6.0.5 - 6.0.28 * Older, unsupported versions are not affected MitigationUsers of affected versions should upgrade to the corresponding fixed version. Affected version(s)Fix versionAvailability6.2.x6.2.8OSS6.1.x6.1.21OSS6.0.x6.0.29 Commercial https://enterprise.spring.io/ No further mitigation steps are necessary. CWE-113 in `Content-Disposition` handling in VMware Spring Framework versions 6.0.5 to 6.2.7 allows remote attackers to launch Reflected File Download (RFD) attacks via unsanitized user input in `ContentDisposition.Builder#filename(String, Charset)` with non-ASCII charsets.

Affected and fixed versions

Package / productAffectedFixedSource
Maven org.springframework:spring-web>= 6.2.0, < 6.2.86.2.8, 6.1.21osv
VMware Spring Framework>= 6.0.5, <= 6.0.28; >= 6.1.0, <= 6.1.20; >= 6.2.0, <= 6.2.7—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-41234. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-41234.md
Affected: org.springframework:spring-web >= 6.2.0, < 6.2.8
Fixed in: 6.2.8, 6.1.21

Steps:
1. Search this machine and project for org.springframework:spring-web (Maven), VMware Spring Framework: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-41234 being exploited?

There is no confirmed exploitation: CVE-2025-41234 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.77% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-41234?

Medium: CVSS 6.5 (v3.1, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.

Which versions are affected by CVE-2025-41234?

org.springframework:spring-web >= 6.2.0, < 6.2.8.

Is there a fix for CVE-2025-41234?

Yes. Fixed in 6.2.8, 6.1.21. Upgrade org.springframework:spring-web to one of 6.2.8, 6.1.21 (or later in the same release line).

How do I check if I'm affected by CVE-2025-41234?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors