Medium severity4.8NVD Advisory· Published Jun 11, 2026· Updated Sep 4, 2026
CVE-2026-40986
CVE-2026-40986
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
org.springframework.webflow:spring-webflowMaven | >= 4.0.0, < 4.0.1 | 4.0.1 |
org.springframework.webflow:spring-webflowMaven | >= 3.0.0, < 3.0.2 | 3.0.2 |
org.springframework.webflow:spring-webflowMaven | <= 2.5.1 | — |
Affected products
2- Range: >=2.5.0 <=2.5.1; >=3.0.0 <=3.0.1; =4.0.0
Patches
Vulnerability mechanics
References
3- github.com/advisories/GHSA-hw5c-xm3c-v96wghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-40986ghsaADVISORY
- spring.io/security/cve-2026-40986nvdVendor AdvisoryWEB
News mentions
0No linked articles in our index yet.