{"id":"CVE-2026-40986","state":"PUBLISHED","title":"Spring Web Flow JS RemotingHandler renders non-HTML Response as HTML","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.\n\nAffected versions:\nSpring Web Flow 4.0.0; 3.0.0 through 3.0.1; 2.5.0 through 2.5.1.","publishedAt":"2026-06-11T05:03:26.458Z","updatedAt":"2026-06-23T19:42:23.692Z","severity":{"score":4.8,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N","source":"vmware"},"assigner":"vmware","products":["Spring Spring Web Flow"],"affected":[{"vendor":"Spring","product":"Spring Web Flow","defaultStatus":"unaffected","versions":[{"version":"4.0.0","status":"affected","lessThan":"4.0.0.1","versionType":"custom"},{"version":"3.0.0","status":"affected","lessThan":"3.0.1.1","versionType":"custom"},{"version":"2.5.0","status":"affected","lessThan":"2.5.2","versionType":"custom"}]}],"references":["https://spring.io/security/cve-2026-40986"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:11:57.932Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/40xxx/CVE-2026-40986.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-40986","state":"PUBLISHED","datePublished":"2026-06-11T05:03:26.458Z","dateUpdated":"2026-06-23T19:42:23.692Z","assignerShortName":"vmware","assignerOrgId":"dcf2e128-44bd-42ed-91e8-88f912c1401d","dateReserved":"2026-04-16T02:19:09.389Z"},"containers":{"cna":{"title":"Spring Web Flow JS RemotingHandler renders non-HTML Response as HTML","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Spring","product":"Spring Web Flow","defaultStatus":"unaffected","versions":[{"version":"4.0.0","status":"affected","lessThan":"4.0.0.1","versionType":"custom"},{"version":"3.0.0","status":"affected","lessThan":"3.0.1.1","versionType":"custom"},{"version":"2.5.0","status":"affected","lessThan":"2.5.2","versionType":"custom"}]}],"references":[{"url":"https://spring.io/security/cve-2026-40986"}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"version":"3.1","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"HIGH","availabilityImpact":"NONE","baseSeverity":"MEDIUM","baseScore":4.8,"vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"CWE-79: Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)","type":"CWE"}]}],"providerMetadata":{"shortName":"vmware","orgId":"dcf2e128-44bd-42ed-91e8-88f912c1401d","dateUpdated":"2026-06-23T19:42:23.692Z"},"impacts":[{"descriptions":[{"lang":"en","value":"An attacker who can influence error responses from the server can cause Spring Web Flow's JavaScript RemotingHandler to render attacker-controlled content as HTML in the user's browser."}]}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 1.0.1"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-06-11T12:46:39.516114Z","id":"CVE-2026-40986","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-06-11T12:46:45.896Z"}}]}}}