XSS in 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 contai…
Vulnerability class: XSS (Cross-Site Scripting)
EPSS: 0.002 (10.3th percentile) — read the EPSS interpretation.
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.
Affected products
- Spring Web Flow — versions 4.0.0, 3.0.0, 2.5.0
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2026-40986?
- CVE-2026-40986 is a medium-severity vulnerability in Spring Web Flow, classified under Cross-site Scripting. CVSS score: 4.8/10. Published 2026-06-11.
- How severe is CVE-2026-40986?
- Medium severity. CVSS v3 base score is 4.8 out of 10.