GitHub Advisoryadvisory · Maven

GHSA-hw5c-xm3c-v96w Spring Web Flow JS RemotingHandler renders non-HTML Response as HTML

MEDIUM Published 2026-06-11 Modified 2026-08-18 Official page ↗
Aliases
CVE-2026-40986
Ecosystem
Maven
Packages
org.springframework.webflow:spring-webflow
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N
Weaknesses
CWE-79
Reviewed
2026-08-18

Affected packages

• Maven org.springframework.webflow:spring-webflow: >= 4.0.0, < 4.0.1 → fixed in 4.0.1 • Maven org.springframework.webflow:spring-webflow: >= 3.0.0, < 3.0.2 → fixed in 3.0.2 • Maven org.springframework.webflow:spring-webflow: <= 2.5.1 (no fix yet)

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.

Related

Alias · CVE (1)

  • CVE-2026-40986 Spring Web Flow's JavaScript RemotingHandler renders the body of an error response as HTML even when the response is not "text/html", which… vulnerability

Weakness · CWE (1)

  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness

References