CVE-2026-40986 MEDIUM

CVE-2026-40986: Spring Web Flow JS RemotingHandler renders non-HTML Response as HTML

Vendor Spring
Product Spring Web Flow
Weakness CWE-79 · XSS
Published June 11, 2026
Last update June 11, 2026

CVSS base score

4.8/10
Attack vector Network
Attack complexity High
Privileges required Low
User interaction Required
Confidentiality None
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

June 11, 2026 CVE published
June 11, 2026 Record updated

Related vulnerabilities

04Related CVE