CRITICAL10.0
GHSA-3p62-6fjh-3p5h
Keycloak vulnerable to cross-site scripting when validating URI-schemes on SAML and OIDC
Quick fix
GHSA-3p62-6fjh-3p5h — org.keycloak:keycloak-services: upgrade to the fixed version with the command below.
# pom.xml: bump <version>21.1.2</version> for org.keycloak:keycloak-servicesDetails
AssertionConsumerServiceURL is a Java implementation for SAML Service Providers (org.keycloak.protocol.saml). Affected versions of this package are vulnerable to Cross-site Scripting (XSS).
AssertionConsumerServiceURL allows XSS when sending a crafted SAML XML request.
Are you affected?
Enter the version of the package you're using.
Affected packages
Maven/org.keycloak:keycloak-services
Introduced in:
0Fixed in: 21.1.2Fix
# pom.xml: bump <version>21.1.2</version> for org.keycloak:keycloak-servicesReferences
- https://github.com/keycloak/keycloak/security/advisories/GHSA-3p62-6fjh-3p5h[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2022-4361[ADVISORY]
- https://github.com/keycloak/keycloak/commit/a1cfe6e24e5b34792699a00b8b4a8016a5929e3a[WEB]
- https://bugzilla.redhat.com/show_bug.cgi?id=2151618[WEB]
- https://github.com/keycloak/keycloak[PACKAGE]