CVE-2026-40986
Received Received - Intake
Reflected XSS in Spring Web Flow via Error Response

Publication date: 2026-06-11

Last updated on: 2026-06-11

Assigner: VMware

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 Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-11
Last Modified
2026-06-11
Generated
2026-06-11
AI Q&A
2026-06-11
EPSS Evaluated
N/A
NVD
EUVD
Affected Vendors & Products
Showing 3 associated CPEs
Vendor Product Version / Range
vmware spring_web_flow 4.0.0
vmware spring_web_flow From 3.0.0 (inc) to 3.0.1 (inc)
vmware spring_web_flow From 2.5.0 (inc) to 2.5.1 (inc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Compliance Impact

The provided information does not specify how this vulnerability impacts compliance with common standards and regulations such as GDPR or HIPAA.

Executive Summary

CVE-2026-40986 is a security vulnerability in Spring Web Flow's JavaScript RemotingHandler. The handler incorrectly renders the body of an error response as HTML even when the response is not of type "text/html".

This behavior can lead to a scripting attack in the user's browser if the error response from the server contains error details that reflect input controlled by an attacker.

In other words, an attacker can inject malicious scripts into the error response, which the browser will execute, potentially compromising the user's security.

Impact Analysis

This vulnerability can lead to a cross-site scripting (XSS) attack in the user's browser.

If exploited, an attacker could execute malicious scripts in the context of the affected web application, potentially leading to unauthorized actions, data theft, or session hijacking.

The impact is limited to the integrity of the user's interaction with the application and does not affect confidentiality or availability directly, as indicated by the CVSS score (Integrity: High, Confidentiality: None, Availability: None).

Mitigation Strategies

To mitigate the risk of CVE-2026-40986, users should upgrade to the fixed versions of Spring Web Flow.

  • Upgrade to version 4.0.1 (OSS) or 4.0.0.1 (Enterprise Support Only) for the 4.0.x branch.
  • Upgrade to version 3.0.2 (OSS) or 3.0.1.1 (Enterprise Support Only) for the 3.0.x branch.
  • Upgrade to version 2.5.2 (Enterprise Support Only) for the 2.5.x branch.

No additional mitigation steps are required beyond upgrading.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-40986. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart