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
Spring Web Flow's JavaScript RemotingHandler component fails to properly neutralize input during web page generation, specifically by rendering error response bodies as HTML regardless of the content type. This improper handling can lead to cross-site scripting (CWE-79) when error responses include attacker-controlled input reflected in the response. The affected versions are exactly 4.0.0, 3.0.0, and 2.5.0. No official patch or remediation level has been provided in the available data.
Potential Impact
Successful exploitation could allow an attacker to execute arbitrary scripts in the context of the user's browser, potentially leading to session hijacking or other malicious actions. The vulnerability does not impact confidentiality or availability but impacts integrity through script injection. The CVSS vector indicates that exploitation 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. No official fix or patch is currently documented. Until a patch is available, users should consider applying custom input validation or sanitization on error responses and avoid reflecting untrusted input in error messages. Monitoring vendor channels for updates is recommended.
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
Spring Web Flow's JavaScript RemotingHandler component fails to properly neutralize input during web page generation, specifically by rendering error response bodies as HTML regardless of the content type. This improper handling can lead to cross-site scripting (CWE-79) when error responses include attacker-controlled input reflected in the response. The affected versions are exactly 4.0.0, 3.0.0, and 2.5.0. No official patch or remediation level has been provided in the available data.
Potential Impact
Successful exploitation could allow an attacker to execute arbitrary scripts in the context of the user's browser, potentially leading to session hijacking or other malicious actions. The vulnerability does not impact confidentiality or availability but impacts integrity through script injection. The CVSS vector indicates that exploitation 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. No official fix or patch is currently documented. Until a patch is available, users should consider applying custom input validation or sanitization on error responses and avoid reflecting untrusted input in error messages. Monitoring vendor channels for updates is recommended.
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: 6/11/2026, 6:46:18 AM
Last enriched: 6/11/2026, 7:02:36 AM
Last updated: 6/11/2026, 5:21:35 PM
Views: 16
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.