CVE-2023-6134

Keycloak: reflected xss via wildcard in oidc redirect_uri

Published Dec 14, 2023 CVSS 3.1 · 4.6 Medium EPSS 1.3% KEV · Not listed
Description
A flaw was found in Keycloak that prevents certain schemes in redirects, but permits them if a wildcard is appended to the token. This issue could allow an attacker to submit a specially crafted request leading to cross-site scripting (XSS) or further attacks. This flaw is the result of an incomplete fix for CVE-2020-10748.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2023-3189 A flaw was found in Keycloak that prevents certain schemes in redirects, but permits them if a wildcard is appended to the token. This issue could allow an attacker to submit a specially crafted request leading to cross-site scripting (XSS) or further attacks. This flaw is the result of an incomplete fix for CVE-2020-10748.
Github GHSA Github GHSA GHSA-cvg2-7c3j-g36j Keycloak vulnerable to reflected XSS via wildcard in OIDC redirect_uri
History

No history.

Weaknesses
  • CWE-74

    Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Sep 22, 2026, 3:35 AM
Reserved
Nov 14, 2023, 6:50 PM
Status
Modified
Published
Dec 14, 2023, 10:15 PM
Modified
Sep 22, 2026, 4:17 AM
Severity
Moderate
Public date
Nov 14, 2023, 12:00 AM