CVE-2026-41845: CWE-79: Improper Neutralization of Input During Web Page Generation (Cross-site Scripting) in Spring Spring Framework
A cross-site scripting (XSS) vulnerability exists in the Spring Framework due to improper escaping in the JavaScriptUtils.javaScriptEscape() method. This flaw affects multiple versions of the Spring Framework, including 5.3.0 through 5.3.48, 6.1.0 through 6.1.27, 6.2.0 through 6.2.18, and 7.0.0 through 7.0.7. The vulnerability could allow an attacker to inject JavaScript code into the browser, potentially leading to information disclosure. The CVSS score is 7.1, indicating a high severity level. No official patch or remediation guidance is currently provided, and no known exploits are reported in the wild.
AI Analysis
Technical Summary
CVE-2026-41845 is a high-severity cross-site scripting vulnerability in the Spring Framework caused by incorrect escaping in the JavaScriptUtils.javaScriptEscape() method. This improper neutralization of input during web page generation can lead to JavaScript code injection in affected versions of the framework. The vulnerability impacts versions 5.3.0 through 5.3.48, 6.1.0 through 6.1.27, 6.2.0 through 6.2.18, and 7.0.0 through 7.0.7. The CVSS vector indicates the attack is network accessible with low attack complexity, requires no privileges but does require user interaction, and results in high confidentiality impact with limited integrity impact and no availability impact. No vendor advisory or patch information is currently available.
Potential Impact
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary JavaScript in the context of the affected web application, potentially leading to the disclosure of sensitive information to the attacker. The integrity impact is limited, and availability is not affected. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should consider applying workarounds or additional input validation and output encoding controls where possible to mitigate the risk of JavaScript injection via the affected method.
CVE-2026-41845: CWE-79: Improper Neutralization of Input During Web Page Generation (Cross-site Scripting) in Spring Spring Framework
Description
A cross-site scripting (XSS) vulnerability exists in the Spring Framework due to improper escaping in the JavaScriptUtils.javaScriptEscape() method. This flaw affects multiple versions of the Spring Framework, including 5.3.0 through 5.3.48, 6.1.0 through 6.1.27, 6.2.0 through 6.2.18, and 7.0.0 through 7.0.7. The vulnerability could allow an attacker to inject JavaScript code into the browser, potentially leading to information disclosure. The CVSS score is 7.1, indicating a high severity level. No official patch or remediation guidance is currently provided, and no known exploits are reported in the wild.
CVSS v3.1
Score 7.1high
Affected software
pkg:maven/org.springframework/spring-frameworkRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-41845 is a high-severity cross-site scripting vulnerability in the Spring Framework caused by incorrect escaping in the JavaScriptUtils.javaScriptEscape() method. This improper neutralization of input during web page generation can lead to JavaScript code injection in affected versions of the framework. The vulnerability impacts versions 5.3.0 through 5.3.48, 6.1.0 through 6.1.27, 6.2.0 through 6.2.18, and 7.0.0 through 7.0.7. The CVSS vector indicates the attack is network accessible with low attack complexity, requires no privileges but does require user interaction, and results in high confidentiality impact with limited integrity impact and no availability impact. No vendor advisory or patch information is currently available.
Potential Impact
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary JavaScript in the context of the affected web application, potentially leading to the disclosure of sensitive information to the attacker. The integrity impact is limited, and availability is not affected. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should consider applying workarounds or additional input validation and output encoding controls where possible to mitigate the risk of JavaScript injection via the affected method.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- vmware
- Date Reserved
- 2026-04-22T06:22:08.200Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a279b32e29bf47b503575c1
Added to database: 06/09/2026, 04:48:50 UTC
Last enriched: 07/31/2026, 00:20:32 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 61
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.