CVE-2026-40986
MEDIUM 4.8CVSS 3.1Spring Web Flow JS RemotingHandler renders non-HTML Response as HTML
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.
- Published
- 11 Jun 2026
- Last modified
- 4 Sep 2026
- Assigned by
- security@vmware.com
- NVD status
- Analyzed
- Weakness
- CWE-79
- Also known as
- GHSA-hw5c-xm3c-v96w
- Sources
- NVDJSONOSV GHSA-hw5c-xm3c-v96wJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@vmware.com (Secondary) | CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | broadcom | spring_web_flowcpe:2.3:a:broadcom:spring_web_flow:*:*:*:*:*:*:*:* |
< 2.5.2 | 2.5.2 |
| NVD | broadcom | spring_web_flowcpe:2.3:a:broadcom:spring_web_flow:*:*:*:*:*:*:*:* |
>= 3.0.0, < 3.0.1.1 | 3.0.1.1 |
| NVD | broadcom | spring_web_flowcpe:2.3:a:broadcom:spring_web_flow:4.0.0:*:*:*:*:*:*:* |
= 4.0.0 | |
| OSV | Maven | org.springframework.webflow:spring-webflow | >= 4.0.0, < 4.0.1 | 4.0.1 |
| OSV | Maven | org.springframework.webflow:spring-webflow | >= 3.0.0, < 3.0.2 | 3.0.2 |
| OSV | Maven | org.springframework.webflow:spring-webflow | <= 2.5.1 |
References
- https://spring.io/security/cve-2026-40986 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-40986 · ADVISORY
- https://github.com/spring-projects/spring-webflow · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 11 Jun 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 11 Jun 2026)