Medium severity · published Jun 9, 2026
CVE-2026-41003
Unencoded HTML Outputs in Spring Security May Allow Cross-Site Scripting
5.4
CVSS
0.2%
EPSS
No
On KEV
Description
An attacker able to influence values in RelyingPartyRegistration may be able to run arbitrary code on HTML forms generated by Spring Security filters.
Affected versions:
Spring 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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
Required
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 10% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
SS
Spring Security · Spring
5.7.0 before 5.7.24; 5.8.0 before 5.8.26; 6.3.0 before 6.3.17; 6.4.0 before 6.4.17; 6.5.0 before 6.5.10.2; 7.0.0 before 7.0.5.1 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-41003
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-41003
Vendor Advisory
https://spring.io/security/cve-2026-41003
More from Spring Security
9.1
CVE-2026-59270
Spring Security embedded UnboundID LDAP server exposes well-known administrative bind DN on all network interfaces
8.1
CVE-2026-47838
Unauthorized User Impersonation when Using X.509 Client Certificates
8.1
CVE-2026-22747
Unauthorized User Impersonation when Using X.509 Client Certificates
7.5
CVE-2026-40988
Unbounded DEFLATE Inflation in SAML 2.0 Service Provider
7.5
CVE-2026-22754
ervlet Path Not Correctly Included in Path Matching of XML Authorization Rules
