Keycloak vulnerable to cross-site scripting when validating URI-schemes on SAML and OIDC

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.

Vulnerability ID: GHSA-3p62-6fjh-3p5h
Aliases: CVE-2022-4361
Published: 2023-06-30 20:30:50
CWE: CWE-79
CWE-81
Severity rating: CRITICAL
CVSS: type: CVSS_V3
score: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Affected packages:
package: ecosystem: Maven
name: org.keycloak:keycloak-services