Medium severity · published Jun 11, 2026
CVE-2026-40986
Spring Web Flow JS RemotingHandler renders non-HTML Response as HTML
4.8
CVSS
0.2%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N
Attack vector
Network
Complexity
High
Privileges
Low
User interaction
Required
Confidentiality
None
Integrity
High
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 11% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
SW
Spring Web Flow · Spring
4.0.0 before 4.0.0.1; 3.0.0 before 3.0.1.1; 2.5.0 before 2.5.2 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-40986
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-40986
Vendor Advisory
https://spring.io/security/cve-2026-40986
More from Spring Web Flow
6.4
CVE-2026-40985
Data Binding Vulnerability in Spring Web Flow with Unified EL Parser
