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 package | Versions | Reported by |
|---|---|---|
| Spring Spring Web Flow | from 4.0.0 before 4.0.0.1, from 3.0.0 before 3.0.1.1, from 2.5.0 before 2.5.2 | CVE 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.1 | GitHub Advisory Database |
| broadcom spring_web_flow | before 2.5.2, from 3.0.0 before 3.0.1.1, 4.0.0 | NVD |
All scores
| vmware | 4.8medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N |
| GitHub | 4.8medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N |
Classification
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
| https://spring.io/security/cve-2026-40986 | vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-40986 | advisory | |
| https://github.com/spring-projects/spring-webflow | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-40986 changed 2026-06-23 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-hw5c-xm3c-v96w changed 2026-08-18 | CC-BY-4.0 |
| NVD | CVE-2026-40986 changed 2026-09-04 | Public domain |