NetSight
critical10.0

CVE-2022-4361

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

Impact

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.

Affected packages

EcosystemPackageAffectedFixed in
mavenorg.keycloak:keycloak-services< 21.1.221.1.2

Affected products

VendorProductAffected versions
RedhatKeycloak
before 21.1.2
RedhatSingle Sign-On
from 7.6 before 7.6.4
All versions
RedhatOpenshift Container Platform
Versions 4.11, 4.12
RedhatOpenshift Container Platform For Ibm Linuxone
Versions 4.9, 4.10
RedhatOpenshift Container Platform For Power
Versions 4.9, 4.10

Weakness classification

References