{"cve":"CVE-2026-40986","nvd":{"published":"2026-06-11T07:16:26.920","modified":"2026-09-04T18:11:51.270","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"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},"cwes":["CWE-79"],"references":["https://spring.io/security/cve-2026-40986"],"products":["broadcom:spring_web_flow"],"source":"nvd","synced_at":"2026-10-19T22:38:48.522727527+00:00"},"epss":{"cve":"CVE-2026-40986","score":0.00206,"percentile":0.10689,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-hw5c-xm3c-v96w","url":"https://osv.dev/vulnerability/GHSA-hw5c-xm3c-v96w","summary":"Spring Web Flow JS RemotingHandler renders non-HTML Response as HTML","modified":"2026-08-18T20:41:05.010025Z","packages":[{"ecosystem":"Maven","name":"org.springframework.webflow:spring-webflow","purl":"pkg:maven/org.springframework.webflow/spring-webflow","ranges":[">=4.0.0 <4.0.1"],"fixed":["4.0.1"]},{"ecosystem":"Maven","name":"org.springframework.webflow:spring-webflow","purl":"pkg:maven/org.springframework.webflow/spring-webflow","ranges":[">=3.0.0 <3.0.2"],"fixed":["3.0.2"]},{"ecosystem":"Maven","name":"org.springframework.webflow:spring-webflow","purl":"pkg:maven/org.springframework.webflow/spring-webflow","ranges":["<=2.5.1"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}