Vulnerability · Published Jun 11, 2026 · Assigned by vmware

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

Medium 4.8

In plain English

A medium-severity cross-site scripting in Spring Web Flow from Spring. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 11% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)4.8Medium
Exploit odds (30 days)0.2%top 89.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenorg.springframework.webflow:spring-webflow4.0.1GHSA-hw5c-xm3c-v96w
Mavenorg.springframework.webflow:spring-webflow3.0.2GHSA-hw5c-xm3c-v96w
Mavenorg.springframework.webflow:spring-webflowno fix listedGHSA-hw5c-xm3c-v96w

Affected products (as reported)

VendorProductVersions
Spring Spring Web Flow 4.0.0 – before 4.0.0.13.0.0 – before 3.0.1.12.5.0 – before 2.5.2

Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N

References