CVE-2026-40986
JSON

4.8medium

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

Severity
4.8medium CVSS:3.1 by vmware
Exploit likelihood
0.21% (higher than 11% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
vmware
Also known as
GHSA-hw5c-xm3c-v96w

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

Product or packageVersionsReported by
Spring Spring Web Flowfrom 4.0.0 before 4.0.0.1, from 3.0.0 before 3.0.1.1, from 2.5.0 before 2.5.2CVE List
org.springframework.webflow:spring-webflow (Maven)from 4.0.0 before 4.0.1, from 3.0.0 before 3.0.2, up to 2.5.1GitHub Advisory Database
broadcom spring_web_flowbefore 2.5.2, from 3.0.0 before 3.0.1.1, 4.0.0NVD

All scores

vmware4.8medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N
GitHub4.8medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N

Classification

CWE-79

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

El RemotingHandler de JavaScript de Spring Web Flow renderiza el cuerpo de una respuesta de error como HTML incluso cuando la respuesta no es 'text/html', lo que puede resultar en un ataque de scripting en el navegador del usuario si la respuesta de error del servidor contiene detalles de error con entrada reflejada de un atacante. Versiones afectadas: Spring Web Flow 4.0.0; 3.0.0 a 3.0.1; 2.5.0 a 2.5.1.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-40986 changed 2026-06-23CVE Terms of Use
GitHub Advisory DatabaseGHSA-hw5c-xm3c-v96w changed 2026-08-18CC-BY-4.0
NVDCVE-2026-40986 changed 2026-09-04Public domain