{"id":"CVE-2026-41846","published":"2026-06-09T03:50:56Z","modified":"2026-06-27T21:01:53Z","title":"Spring Framework Cross-site Scripting via JSP Form Tags","vendor":"Spring","product":"Spring Framework","tier":"tail","description":{"text":"Spring MVC applications which accept user-supplied values in the cssClass, cssErrorClass, or cssStyle attributes of JSP form tags allow arbitrary HTML/JavaScript code injection, 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":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00152,"percentile":0.04404,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://spring.io/security/cve-2026-41846","tags":[]}],"priority":{"score":5.0,"factors":[{"name":"EPSS percentile","points":0.88},{"name":"CVSS severity","points":4.13}]},"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:32.578842Z","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-957g-f97v-vppc"],"provenance":"source"}],"summary":{"text":"The flaw is a cross-site scripting issue in the Spring Framework, specifically in the JSP form tags of Spring MVC applications, which fail to neutralise user-supplied values passed through the cssClass, cssErrorClass, or cssStyle attributes. An attacker who can supply a value into one of those attributes can inject arbitrary HTML and JavaScript, but only with network access, no authentication, and a user who must interact with the crafted page (the attack complexity is also high).","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:19:59Z"},"euvd":{"id":"EUVD-2026-35334","exploited":false,"provenance":"source"}}