{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-41845","id":"CVE-2026-41845","title":"Spring Framework Cross-site Scripting via JavaScriptUtils","description":"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.","descriptionLong":"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-09T03:50:48.454Z","updated":"2026-11-10T02:32:10.820910342Z","reserved":"2026-04-22T06:22:08.200Z","status":"Analyzed","rejected":false,"assigner":"vmware","metric":{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N","rating":"high","source":"vmware"},"metrics":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N","rating":"high","source":"vmware"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N","rating":"high","source":"vmware.com"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N","rating":"high","source":"OSV"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N","rating":"high","source":"GitHub"}],"rating":"high","products":["Spring Framework"],"affectedProducts":[{"vendor":"Spring","product":"Spring Framework","defaultStatus":"unaffected","versions":[{"status":"affected","version":"7.0.0","lessThan":"7.0.7.1","versionType":"custom"},{"status":"affected","version":"6.2.0","lessThan":"6.2.18.1","versionType":"custom"},{"status":"affected","version":"6.1.0","lessThan":"6.1.28","versionType":"custom"},{"status":"affected","version":"5.3.0","lessThan":"5.3.49","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"org.springframework:spring-webmvc","purl":"pkg:maven/org.springframework/spring-webmvc","ranges":[">=7.0.0 <7.0.8",">=6.2.0 <6.2.19",">=6.1.0 <=6.1.21","<=5.3.39"],"fixed":["7.0.8","6.2.19"],"advisory":"GHSA-3chg-m5w7-qfv5"}],"cwes":["CWE-79"],"aliases":["GHSA-3chg-m5w7-qfv5"],"references":[{"url":"https://spring.io/security/cve-2026-41845","tags":["Vendor Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41845.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41845","tags":["advisory"]},{"url":"https://github.com/spring-projects/spring-framework/commit/86d99790dbaa8ce6bb1087ef92844d0abfdab015","tags":["web"]},{"url":"https://github.com/spring-projects/spring-framework/commit/a1826b725c29fbb175fa7b4fc005aa3d78c32015","tags":["web"]},{"url":"https://github.com/spring-projects/spring-framework","tags":["package"]},{"url":"https://github.com/spring-projects/spring-framework/releases/tag/v6.2.19","tags":["web"]},{"url":"https://github.com/spring-projects/spring-framework/releases/tag/v7.0.8","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00161,"epssPercentile":0.05375,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-41845","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41845","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-41845","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-3chg-m5w7-qfv5","ok":true,"note":"GHSA-3chg-m5w7-qfv5"},{"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-41845","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["spring"],"critical":[],"attention":null}