CVE-2026-40986: CWE-79: Improper Neutralization of Input During Web Page Generation (Cross-site Scripting) in Spring Spring Web Flow
Spring Web Flow's JavaScript RemotingHandler renders the body of an error response as HTML even when the response is not "text/html", which can result in a scripting attack in the user's browser if the error response from the server contains error details with input reflected from an attacker. Affected versions: Spring Web Flow 4.0.0; 3.0.0 through 3.0.1; 2.5.0 through 2.5.1.
AI Analysis
Technical Summary
CVE-2026-40986 is a cross-site scripting vulnerability in Spring Web Flow's JavaScript RemotingHandler. The handler renders error response bodies as HTML regardless of the response's content type, allowing attacker-controlled input reflected in error details to execute scripts in the user's browser. This improper neutralization of input during web page generation is classified under CWE-79. The affected versions explicitly include 4.0.0, 3.0.0 through 3.0.1, and 2.5.0 through 2.5.1. No official patch or remediation guidance is currently documented.
Potential Impact
Successful exploitation can lead to execution of arbitrary scripts in the context of the user's browser, potentially allowing an attacker to perform actions such as session hijacking or other malicious activities that rely on script execution. The vulnerability does not impact confidentiality or availability directly but has a high impact on integrity due to script injection. The CVSS vector indicates the attack requires network access, high attack complexity, low privileges, and user interaction.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should consider applying workarounds such as validating and sanitizing inputs that may be reflected in error responses or disabling JavaScript RemotingHandler error rendering if possible. Monitor vendor communications for updates on patches or official mitigations.
CVE-2026-40986: CWE-79: Improper Neutralization of Input During Web Page Generation (Cross-site Scripting) in Spring Spring Web Flow
Description
Spring Web Flow's JavaScript RemotingHandler renders the body of an error response as HTML even when the response is not "text/html", which can result in a scripting attack in the user's browser if the error response from the server contains error details with input reflected from an attacker. Affected versions: Spring Web Flow 4.0.0; 3.0.0 through 3.0.1; 2.5.0 through 2.5.1.
CVSS v3.1
Score 4.8medium
Affected software
pkg:maven/org.springframework.webflow/spring-webflowRun 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-40986 is a cross-site scripting vulnerability in Spring Web Flow's JavaScript RemotingHandler. The handler renders error response bodies as HTML regardless of the response's content type, allowing attacker-controlled input reflected in error details to execute scripts in the user's browser. This improper neutralization of input during web page generation is classified under CWE-79. The affected versions explicitly include 4.0.0, 3.0.0 through 3.0.1, and 2.5.0 through 2.5.1. No official patch or remediation guidance is currently documented.
Potential Impact
Successful exploitation can lead to execution of arbitrary scripts in the context of the user's browser, potentially allowing an attacker to perform actions such as session hijacking or other malicious activities that rely on script execution. The vulnerability does not impact confidentiality or availability directly but has a high impact on integrity due to script injection. The CVSS vector indicates the attack requires network access, high attack complexity, low privileges, and user interaction.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should consider applying workarounds such as validating and sanitizing inputs that may be reflected in error responses or disabling JavaScript RemotingHandler error rendering if possible. Monitor vendor communications for updates on patches or official mitigations.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- vmware
- Date Reserved
- 2026-04-16T02:19:09.389Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a2a59ba318757064921d3a4
Added to database: 06/11/2026, 06:46:18 UTC
Last enriched: 06/24/2026, 14:29:14 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 102
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.