CVE-2026-40986: Spring Web Flow's JavaScript RemotingHandler renders t
CVE-2026-40986 analysis covering impact, affected products, versions, remediation, and cross-checked defender guidance.
CVE-2026-40986 is a vulnerability published by NVD on 6/11/2026.
What happened
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.
Affected products and versions
- NVD has not published a normalized affected-product configuration yet.
Severity and weakness
CVSS: MEDIUM 4.8. Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N.
Weaknesses: CWE-79.
Known exploitation
No CISA KEV entry is currently attached to the NVD record.
What defenders should do
- Identify whether the affected product and version range exists in production.
- Review vendor advisories and release notes before change windows.
- Patch, upgrade, disable the vulnerable component, or apply vendor mitigations.
- Verify the running version after deployment, not only the package inventory.
Official and supporting references
- No vendor advisory tagged by NVD at draft time.
Source record
Turn the advisory into a check.
Review your asset inventory, confirm affected versions against vendor guidance, and verify changes after remediation.
Read the monitoring documentation →Explore the security platform →