Reflected file download via unencoded filename quotes
Published Jun 12, 2025 · Updated Jun 13, 2025
Improper header encoding in Spring Framework allows remote authenticated users to launch reflected file downloads through crafted filenames. ContentDisposition.Builder#filename(String, Charset) treats a user-supplied double quote as printable while constructing the encoded Content-Disposition filename instead of encoding it, allowing altered header parsing. Exploitation requires an application to pass unsanitized input with a non-ASCII charset, inject malicious response content, and induce a user to open the download.
Summary
What happened
Improper header encoding in Spring Framework allows remote authenticated users to launch reflected file downloads through crafted filenames. ContentDisposition.Builder#filename(String, Charset) treats a user-supplied double quote as printable while constructing the encoded Content-Disposition filename instead of encoding it, allowing altered header parsing. Exploitation requires an application to pass unsanitized input with a non-ASCII charset, inject malicious response content, and induce a user to open the download.
The record
- CVE
- CVE-2025-41234
- Published
- Jun 12, 2025
- Updated
- Jun 13, 2025
- Vendor
- Spring
- Product
- Spring Framework
- Classifications
- CWE-113, T1204.002
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Jun 12, 2025CVE publishedPublication date reported by the CVE source.
- Jun 13, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=6.0.5 <=6.0.28 changes=[{"at":"6.0.29","status":"unaffected"}]
- Affected versionversion=6.1.0 <=6.1.20 changes=[{"at":"6.1.21","status":"unaffected"}]
- Affected versionversion=6.2.0 <=6.2.7 changes=[{"at":"6.2.8","status":"unaffected"}]
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo