{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-40986","id":"CVE-2026-40986","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.","descriptionLong":"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-11T05:03:26.458Z","updated":"2026-10-28T02:30:41.137561777Z","reserved":"2026-04-16T02:19:09.389Z","status":"Analyzed","rejected":false,"assigner":"vmware","metric":{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N","rating":"medium","source":"vmware"},"metrics":[{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N","rating":"medium","source":"vmware"},{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N","rating":"medium","source":"vmware.com"},{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["Spring Web Flow"],"affectedProducts":[{"vendor":"Spring","product":"Spring Web Flow","defaultStatus":"unaffected","versions":[{"status":"affected","version":"4.0.0","lessThan":"4.0.0.1","versionType":"custom"},{"status":"affected","version":"3.0.0","lessThan":"3.0.1.1","versionType":"custom"},{"status":"affected","version":"2.5.0","lessThan":"2.5.2","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"org.springframework.webflow:spring-webflow","purl":"pkg:maven/org.springframework.webflow/spring-webflow","ranges":[">=4.0.0 <4.0.1",">=3.0.0 <3.0.2","<=2.5.1"],"fixed":["4.0.1","3.0.2"],"advisory":"GHSA-hw5c-xm3c-v96w"}],"cwes":["CWE-79"],"aliases":["GHSA-hw5c-xm3c-v96w"],"references":[{"url":"https://spring.io/security/cve-2026-40986","tags":["Vendor Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40986.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40986","tags":["advisory"]},{"url":"https://github.com/spring-projects/spring-webflow","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00206,"epssPercentile":0.10786,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-40986","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40986","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-40986","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-hw5c-xm3c-v96w","ok":true,"note":"GHSA-hw5c-xm3c-v96w"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-40986","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}