VDB
Sign up
MEDIUM4.6

GHSA-cvg2-7c3j-g36j

Keycloak vulnerable to reflected XSS via wildcard in OIDC redirect_uri

Quick fix

GHSA-cvg2-7c3j-g36j — org.keycloak:keycloak-services: upgrade to the fixed version with the command below.

# pom.xml: bump <version>23.0.3</version> for org.keycloak:keycloak-services

Details

Keycloak prevents certain schemes in redirects, but permits them if a wildcard is appended to the token. This could permit an attacker to submit a specially crafted request leading to XSS or possibly further attacks.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.keycloak:keycloak-services
Introduced in: 0Fixed in: 23.0.3
Fix# pom.xml: bump <version>23.0.3</version> for org.keycloak:keycloak-services

References