CVE-2026-40986: Spring Web Flow JS RemotingHandler renders non-HTML Response as HTML
Vulnerability summary
CVE-2026-40986 is a medium (CVSS 4.8) vulnerability in broadcom spring_web_flow. EPSS estimates a 0.21% chance of exploitation in the next 30 days, higher than 11.2% of scored vulnerabilities.
Not severe (CVSS 4.8, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 11-06-2026PublishedVulnerability first disclosed.
- 23-06-2026Last modifiedVulnerability information updated.
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 metrics
3 scores · 3 sources · 1 version- OSV · MavenEcosystem advisory · calculated4.8MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N
- NVDNIST4.8MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N
EPSS trend
Probability
0.21%
Chance of exploitation in the next 30 days
Percentile
11%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.21% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.
Broadcom1 product
- spring_web_flow< 2.5.2 | ≥ 3.0.0, < 3.0.1.1 | 4.0.0
Org.springframework.webflow1 product
- spring-webflow≥ 4.0.0, < 4.0.1 | ≥ 3.0.0, < 3.0.2 | ≤ 2.5.1
Spring1 product
- spring web flow≥ 4.0.0, < 4.0.0.1 | ≥ 3.0.0, < 3.0.1.1 | ≥ 2.5.0, < 2.5.2
3 vendors · 3 products