CVE-2026-40986

MEDIUM

Spring Web Flow JS RemotingHandler renders non-HTML Response as HTML

Title source: cna
STIX 2.1

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.

References (1)

Core 1

Scores

CVSS v3 4.8
EPSS 0.0015
EPSS Percentile 4.6%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-79
Status published
Products (3)
Spring/Spring Web Flow 2.5.0 - 2.5.2
Spring/Spring Web Flow 3.0.0 - 3.0.2
Spring/Spring Web Flow 4.0.0 - 4.0.1
Published Jun 11, 2026
Tracked Since Jun 11, 2026