{"id":"CVE-2026-41003","published":"2026-06-09T23:46:53Z","modified":"2026-06-27T21:24:40Z","title":"Unencoded HTML Outputs in Spring Security May Allow Cross-Site Scripting","vendor":"Spring","product":"Spring Security","tier":"tail","description":{"text":"An attacker able to influence values in RelyingPartyRegistration may be able to run arbitrary code on HTML forms generated by Spring Security filters.\n\nAffected versions:\nSpring Security 5.7.0 through 5.7.23; 5.8.0 through 5.8.25; 6.3.0 through 6.3.16; 6.4.0 through 6.4.16; 6.5.0 through 6.5.10; 7.0.0 through 7.0.5.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.6,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00204,"percentile":0.1052,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://spring.io/security/cve-2026-41003","tags":[]}],"priority":{"score":7.4,"factors":[{"name":"EPSS percentile","points":2.1},{"name":"CVSS severity","points":5.32}]},"vendorSlug":"spring","affectedVersions":[{"vendor":"Spring","product":"Spring Security","versions":[">= 5.7.0, < 5.7.24",">= 5.8.0, < 5.8.26",">= 6.3.0, < 6.3.17",">= 6.4.0, < 6.4.17",">= 6.5.0, < 6.5.10.2",">= 7.0.0, < 7.0.5.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-10T18:07:53.818849Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.springframework.security:spring-security-saml2-service-provider","vulnerableRanges":[">=7.0.0, <7.0.6",">=6.5.0, <6.5.11",">=6.4.0, <=6.4.16",">=6.3.0, <=6.3.16",">=5.8.0, <=5.8.25","<=5.7.23"],"patched":["7.0.6","6.5.11"],"from":["GHSA-3pjj-qpw6-5fcm"],"provenance":"source"}],"summary":{"text":"Spring Security contains an unencoded HTML output flaw in the components that generate HTML forms via its filters, which is tied to values held in RelyingPartyRegistration. An attacker who can influence those values, and who needs low privileges plus user interaction, could cause script to run in a victim's browser in the context of the generated forms, with network access to the application as the basic precondition.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:12:52Z"},"euvd":{"id":"EUVD-2026-35887","exploited":false,"provenance":"source"}}