GitHub Advisory Database
GHSA-3pjj-qpw6-5fcm
Spring Security SAML2 Service Provider: RelyingPartyRegistration may run arbitrary code on HTML forms generated by Spring Security filters
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.springframework.security:spring-security-saml2-service-provider | From 7.0.0 before 7.0.6 (fixed in 7.0.6) |
| Maven | org.springframework.security:spring-security-saml2-service-provider | From 6.5.0 before 6.5.11 (fixed in 6.5.11) |
| Maven | org.springframework.security:spring-security-saml2-service-provider | From 6.4.0 up to and including 6.4.16 |
| Maven | org.springframework.security:spring-security-saml2-service-provider | From 6.3.0 up to and including 6.3.16 |
| Maven | org.springframework.security:spring-security-saml2-service-provider | From 5.8.0 up to and including 5.8.25 |
| Maven | org.springframework.security:spring-security-saml2-service-provider | All versions up to and including 5.7.23 |