Skip to content

Reflected XSS via wildcard in OIDC redirect_uri

Moderate
abstractj published GHSA-cvg2-7c3j-g36j Dec 18, 2023

Package

maven org.keycloak.protocol.oidc (Maven)

Affected versions

< 23.0.3

Patched versions

23.0.3

Description

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.

Severity

Moderate

CVE ID

CVE-2023-6134

Weaknesses

Failure to Sanitize Special Elements into a Different Plane (Special Element Injection)

The product does not adequately filter user-controlled input for special elements with control implications. Learn more on MITRE.

Credits