{"id":"CVE-2026-41845","aliases":[],"url":"https://o3.security/vulnerability/CVE-2026-41845","summary":"Spring Framework Cross-site Scripting via JavaScriptUtils","details":"Due to incorrect escaping, the use of JavaScriptUtils.javaScriptEscape() may lead to JavaScript code injection in the browser, potentially resulting in a cross-site scripting (XSS) vulnerability.\n\nAffected versions:\nSpring Framework 7.0.0 through 7.0.7; 6.2.0 through 6.2.18; 6.1.0 through 6.1.27; 5.3.0 through 5.3.48.","published":"2026-06-09T06:31:57Z","modified":"2026-07-31T15:09:20.739235664Z","cvss":{"score":7.1,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N"},"epss":{"score":0.00161,"percentile":0.05739,"asOf":"2026-08-09"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Maven","name":"org.springframework:spring-webmvc","fixedVersion":"7.0.8"},{"ecosystem":"Maven","name":"org.springframework:spring-webmvc","fixedVersion":"6.2.19"},{"ecosystem":"Maven","name":"org.springframework:spring-webmvc","fixedVersion":null},{"ecosystem":"Maven","name":"org.springframework:spring-webmvc","fixedVersion":null}],"fix":{"url":"https://github.com/spring-projects/spring-framework/commit/86d99790dbaa8ce6bb1087ef92844d0abfdab015","label":"spring-projects/spring-framework@86d9979"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41845"},{"type":"WEB","url":"https://github.com/spring-projects/spring-framework/commit/86d99790dbaa8ce6bb1087ef92844d0abfdab015"},{"type":"WEB","url":"https://github.com/spring-projects/spring-framework/commit/a1826b725c29fbb175fa7b4fc005aa3d78c32015"},{"type":"PACKAGE","url":"https://github.com/spring-projects/spring-framework"},{"type":"WEB","url":"https://github.com/spring-projects/spring-framework/releases/tag/v6.2.19"},{"type":"WEB","url":"https://github.com/spring-projects/spring-framework/releases/tag/v7.0.8"},{"type":"WEB","url":"https://spring.io/security/cve-2026-41845"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-31T15:09:20.739235664Z"}}