{"id":"CVE-2026-40986","aliases":["CVE-2026-40986","GHSA-hw5c-xm3c-v96w"],"related":[],"kind":"vulnerability","state":"published","title":"Spring Web Flow JS RemotingHandler renders non-HTML Response as HTML","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"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.\n\nVersiones afectadas:\nSpring Web Flow 4.0.0; 3.0.0 a 3.0.1; 2.5.0 a 2.5.1.","source":"nvd"}],"published":"2026-06-11T05:03:26.458Z","modified":"2026-09-04T18:11:51.270Z","severity":{"scorer":"vmware","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N","score":4.8,"rating":"MEDIUM"},"severities":[{"scorer":"vmware","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N","score":4.8,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N","score":4.8,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"custom","introduced":"4.0.0","fixed":"4.0.0.1","status":"affected"},{"type":"custom","introduced":"3.0.0","fixed":"3.0.1.1","status":"affected"},{"type":"custom","introduced":"2.5.0","fixed":"2.5.2","status":"affected"}],"vendor":"Spring","product":"Spring Web Flow","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"4.0.0","status":"affected","fixed":"4.0.1"}],"ecosystem":"Maven","package":"org.springframework.webflow:spring-webflow","purl":"pkg:maven/org.springframework.webflow/spring-webflow","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"3.0.0","status":"affected","fixed":"3.0.2"}],"ecosystem":"Maven","package":"org.springframework.webflow:spring-webflow","purl":"pkg:maven/org.springframework.webflow/spring-webflow","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"2.5.1"}],"ecosystem":"Maven","package":"org.springframework.webflow:spring-webflow","purl":"pkg:maven/org.springframework.webflow/spring-webflow","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.5.2"},{"status":"affected","introduced":"3.0.0","fixed":"3.0.1.1"},{"status":"affected","version":"4.0.0"}],"vendor":"broadcom","product":"spring_web_flow","cpe":"cpe:2.3:a:broadcom:spring_web_flow:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://spring.io/security/cve-2026-40986","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40986","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/spring-projects/spring-webflow","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"vmware","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-06-11T12:46:39.516Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-40986","url":"https://www.cve.org/CVERecord?id=CVE-2026-40986","licence":"CVE Terms of Use","modified":"2026-06-23T19:42:23.692Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-hw5c-xm3c-v96w","url":"https://github.com/advisories/GHSA-hw5c-xm3c-v96w","licence":"CC-BY-4.0","modified":"2026-08-18T20:41:05.010Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-40986","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40986","licence":"Public domain","modified":"2026-09-04T18:11:51.270Z"}],"updatedAt":"2026-11-25T22:59:24.408Z","epss":{"score":0.00206,"percentile":0.11289,"date":"2026-12-01T12:00:22.000Z"}}