{"id":"CVE-2026-40986","aliases":[],"url":"https://o3.security/vulnerability/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.","published":"2026-06-11T09:31:55Z","modified":"2026-08-18T20:30:07.379764135Z","cvss":{"score":4.8,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"Maven","name":"org.springframework.webflow:spring-webflow","fixedVersion":"4.0.1"},{"ecosystem":"Maven","name":"org.springframework.webflow:spring-webflow","fixedVersion":"3.0.2"},{"ecosystem":"Maven","name":"org.springframework.webflow:spring-webflow","fixedVersion":null}],"fix":null,"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40986"},{"type":"PACKAGE","url":"https://github.com/spring-projects/spring-webflow"},{"type":"WEB","url":"https://spring.io/security/cve-2026-40986"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-18T20:30:07.379764135Z"}}