CVE-2026-40986
published medium CVSS 3.1 · 4.8Spring Web Flow JS RemotingHandler renders non-HTML Response as HTML
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Spring | — | Spring Web Flow4.0.0 to < 4.0.0.1 · 3.0.0 to < 3.0.1.1 · 2.5.0 to < 2.5.2 · Other versions: unaffected | Affected | Not stated | vmware |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.8 / 10
- Severity
- medium
- Provider
- vmware · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Spring | Spring Web Flow | 4.0.0 to < 4.0.0.1 (affected · custom)3.0.0 to < 3.0.1.1 (affected · custom)2.5.0 to < 2.5.2 (affected · custom)Default: unaffected | vmware · cna |
Weaknesses
1- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)
References
1Provider assertions
2vmware · cna
Spring Web Flow JS RemotingHandler renders non-HTML Response as HTML
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 64f9cdf87edc815d731df11c21f27ef32dbdbdf2767e14cc76ecf059907caa99
- Ingested
- 23 Sep 2026, 09:13:21 UTC
- Source record
- Official CVE record