cve.bz

CVE-2026-40986

4.8 mediumEPSS 0.2%

Medium (4.8) in broadcom spring web flow. EPSS 0.2% chance of exploitation in the next 30 days. Fixed in org.springframework.webflow:spring-webflow 3.0.2, 4.0.1.

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.

Severity

CVSS 3.1

4.8 medium
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N
EPSS
0.2% chance of exploitation in the next 30 days; higher than 10% of CVEs (scores of 2026-10-31)
CWE
CWE-79
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-hw5c-xm3c-v96wMavenorg.springframework.webflow:spring-webflow>=4.0.0 <4.0.14.0.1
GHSA-hw5c-xm3c-v96wMavenorg.springframework.webflow:spring-webflow>=3.0.0 <3.0.23.0.2
GHSA-hw5c-xm3c-v96wMavenorg.springframework.webflow:spring-webflow<=2.5.1no fix published

References

Check your stackJSON