CVE-2026-40986

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

Published Jun 11, 2026 CVSS 3.1 · 4.8 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-hw5c-xm3c-v96w Spring Web Flow JS RemotingHandler renders non-HTML Response as HTML
References
History
Type Values Removed Values Added
First Time appeared Broadcom
Broadcom spring Web Flow
CPEs cpe:2.3:a:broadcom:spring_web_flow:*:*:*:*:*:*:*:*
cpe:2.3:a:broadcom:spring_web_flow:4.0.0:*:*:*:*:*:*:*
Vendors & Products Broadcom
Broadcom spring Web Flow
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Spring
Spring spring Web Flow
Vendors & Products Spring
Spring spring Web Flow
Type Values Removed Values Added
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.
Title Spring Web Flow JS RemotingHandler renders non-HTML Response as HTML
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 4.8, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
vmware
Published
Updated
Jun 23, 2026, 7:42 PM
Reserved
Apr 16, 2026, 2:19 AM
Status
Analyzed
Published
Jun 11, 2026, 7:16 AM
Modified
Sep 4, 2026, 6:11 PM