Home

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.

PUBLISHED Reserved 2026-04-16 | Published 2026-06-11 | Updated 2026-06-11 | Assigner vmware




MEDIUM: 4.8CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N

Problem types

CWE-79: Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)

Product status

Default status
unaffected

4.0.0 (custom) before 4.0.1
affected

3.0.0 (custom) before 3.0.2
affected

2.5.0 (custom) before 2.5.2
affected

References

spring.io/security/cve-2026-40986

cve.org (CVE-2026-40986)

nvd.nist.gov (CVE-2026-40986)

Download JSON