XSS in Broadcom Spring Web Flow
CVE-2026-40986
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.8 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N.
EPSS exploit prediction
EPSS 0.002, 10.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Broadcom Spring Web Flow — versions 4.0.0
- Spring Web Flow — versions 4.0.0, 3.0.0, 2.5.0
Weakness classification (CWE)
References
- spring.io/security/cve-2026-40986 (Vendor Advisory)