{"id":"CVE-2026-40986","summary":"Spring Web Flow JS RemotingHandler renders non-HTML Response as HTML","details":"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.\n\nAffected versions:\nSpring Web Flow 4.0.0; 3.0.0 through 3.0.1; 2.5.0 through 2.5.1.","aliases":["GHSA-hw5c-xm3c-v96w"],"modified":"2026-09-10T11:45:27.615260746Z","published":"2026-06-11T05:03:26.458Z","database_specific":{"cna_assigner":"vmware","cwe_ids":["CWE-79"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40986.json","unresolved_ranges":[{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"4.0.0"},{"fixed":"4.0.0.1"},{"introduced":"3.0.0"},{"fixed":"3.0.1.1"},{"introduced":"2.5.0"},{"fixed":"2.5.2"}]},{"extracted_events":[{"introduced":"3.0.0"},{"fixed":"3.0.1"},{"introduced":"2.5.0"},{"fixed":"2.5.1"}],"source":"DESCRIPTION"}]},"references":[{"type":"WEB","url":"https://spring.io/security/cve-2026-40986"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40986.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40986"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/spring-projects/spring-webflow","events":[{"introduced":"c0b9d2b4a402a8be04f6a89e16955c8ab075ddd1"},{"last_affected":"c0b9d2b4a402a8be04f6a89e16955c8ab075ddd1"}],"database_specific":{"source":"CPE_STRING","cpe":"cpe:2.3:a:broadcom:spring_web_flow:4.0.0:*:*:*:*:*:*:*","extracted_events":[{"introduced":"4.0.0"},{"last_affected":"4.0.0"}]}}],"versions":["4.0.0","v4.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-40986.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N"}]}