CVE 4.8 MEDIUM

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

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

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.

Basic Information

ID CVE-2026-40986
Source vmware
Published Jun 11, 2026 at 05:03

Affected Product

Vendor Spring
Product Spring Web Flow
Version 4.0.0
Affected Versions Spring Spring Web Flow 4.0.0
Spring Spring Web Flow 3.0.0
Spring Spring Web Flow 2.5.0

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.