{"id":"CVE-2026-41845","published":"2026-06-09T03:50:48Z","modified":"2026-06-27T21:01:27Z","title":"Spring Framework Cross-site Scripting via JavaScriptUtils","vendor":"Spring","product":"Spring Framework","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00161,"percentile":0.05394,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://spring.io/security/cve-2026-41845","tags":[]}],"priority":{"score":6.0,"factors":[{"name":"EPSS percentile","points":1.08},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"spring","affectedVersions":[{"vendor":"Spring","product":"Spring Framework","versions":[">= 7.0.0, < 7.0.7.1",">= 6.2.0, < 6.2.18.1",">= 6.1.0, < 6.1.28",">= 5.3.0, < 5.3.49"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-09T13:33:16.137910Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.springframework:spring-webmvc","vulnerableRanges":[">=7.0.0, <7.0.8",">=6.2.0, <6.2.19",">=6.1.0, <=6.1.21","<=5.3.39"],"patched":["7.0.8","6.2.19"],"from":["GHSA-3chg-m5w7-qfv5"],"provenance":"source"}],"summary":{"text":"The Spring Framework's JavaScriptUtils.javaScriptEscape() method contains incorrect escaping, which can allow JavaScript code injection into a browser and result in cross-site scripting. An attacker can exploit this over the network with no authentication, but a user must interact with a crafted page or input for the injected script to run.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:16:54Z"},"euvd":{"id":"EUVD-2026-35333","exploited":false,"provenance":"source"}}