Skip to content
OpenAdvisories
Medium · 4.8 CVE-2026-40986 EUVD-2026-36201GHSA-hw5c-xm3c-v96w

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

Published Jun 11, 2026 · Updated Jun 23, 2026 · Assigned by vmware

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.

Affected products

VendorProductAffectedFixed
Spring Spring Web Flow 4.0.0 – < 4.0.0.1, 3.0.0 – < 3.0.1.1, 2.5.0 – < 2.5.2 4.0.0.1

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.springframework.webflow:spring-webflow >= 4.0.0, < 4.0.1 4.0.1 GHSA-hw5c-xm3c-v96w
Maven org.springframework.webflow:spring-webflow >= 3.0.0, < 3.0.2 3.0.2 GHSA-hw5c-xm3c-v96w
Maven org.springframework.webflow:spring-webflow <= 2.5.1 — GHSA-hw5c-xm3c-v96w

References