{"id":"CVE-2026-40986","published":"2026-06-11T05:03:26Z","modified":"2026-06-23T19:42:23Z","title":"Spring Web Flow JS RemotingHandler renders non-HTML Response as HTML","vendor":"Spring","product":"Spring Web Flow","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00206,"percentile":0.10873,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://spring.io/security/cve-2026-40986","tags":[]}],"priority":{"score":5.5,"factors":[{"name":"EPSS percentile","points":2.17},{"name":"CVSS severity","points":3.36}]},"vendorSlug":"spring","affectedVersions":[{"vendor":"Spring","product":"Spring Web Flow","versions":[">= 4.0.0, < 4.0.0.1",">= 3.0.0, < 3.0.1.1",">= 2.5.0, < 2.5.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-11T12:46:39.516114Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.springframework.webflow:spring-webflow","vulnerableRanges":[">=4.0.0, <4.0.1",">=3.0.0, <3.0.2","<=2.5.1"],"patched":["4.0.1","3.0.2"],"from":["GHSA-hw5c-xm3c-v96w"],"provenance":"source"}],"summary":{"text":"Spring Web Flow's JavaScript RemotingHandler renders the body of error responses as HTML even when the response is not \"text/html\", so error details reflecting attacker-supplied input can be interpreted as markup in the user's browser. Exploitation requires an attacker to supply input that the server reflects into an error response, and a user to be induced to interact with the affected page, with the attacker needing low-privilege access to the application to do so.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:19:48Z"},"euvd":{"id":"EUVD-2026-36201","exploited":false,"provenance":"source"}}