{"id":"CVE-2026-41846","aliases":[],"url":"https://o3.security/vulnerability/CVE-2026-41846","summary":"Spring Framework Cross-site Scripting via JSP Form Tags","details":"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.","published":"2026-06-09T06:31:58Z","modified":"2026-09-10T03:50:49.221153674Z","cvss":{"score":5.9,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N"},"epss":{"score":0.00152,"percentile":0.04571,"asOf":"2026-08-24"},"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/1829b42b9c45e780c268dd17863d9198d62154d3","label":"spring-projects/spring-framework@1829b42"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41846"},{"type":"WEB","url":"https://github.com/spring-projects/spring-framework/commit/1829b42b9c45e780c268dd17863d9198d62154d3"},{"type":"WEB","url":"https://github.com/spring-projects/spring-framework/commit/e8f10244e3859e8bb5b6be3823c9bbea2c130573"},{"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-41846"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-09-10T03:50:49.221153674Z"}}