Spring Security
Unencoded HTML Outputs in Spring Security May Allow Cross-Site Scripting
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.6high · scored by CNA · CWE-79
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
Spring Spring Security
- >= 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
Fixed in 5.7.24, 5.8.26, 6.3.17, 6.4.17, 6.5.10.2, 7.0.5.1
Mitigation
Upgrade Spring Security to 5.7.24 or 5.8.26 or 6.3.17 or 6.4.17 or 6.5.10.2 or 7.0.5.1 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.