Skip to main content
VulnerabilityPublished Updated

CVE-2023-6134: Red Hat build of Keycloak 22 · Cross-site Scripting

Affects Red Hat build of Keycloak 22Source CVE Database V5

0
Compare

Mentioned vulnerabilities

Not known to be exploited · CVSS 4.6 Medium.

Data as of 23 Nov 2026, 21:13 UTC

CVSS 3.1 base score
4.6Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
1.3% chance of exploitation in 30 days – higher than 71% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 14 Dec 2023

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Red Hat Red Hat build of Keycloak 22Affected
  • =22
Fixed in–

AI-suggested

European organizations should immediately monitor for updates and patches from Red Hat addressing CVE-2023-6134 and apply them promptly once available. In the interim, administrators should audit and restrict allowed redirect URIs to a strict whitelist, avoiding wildcards or ambiguous schemes that could be exploited. Implementing robust Content Security Policies (CSP) can help mitigate the impact of injected scripts by restricting script execution sources. Additionally, organizations should review and enhance input validation and sanitization mechanisms within their Keycloak deployments. Logging and monitoring for unusual redirect requests or suspicious user activity can aid in early detection of exploitation attempts. Educating users about the risks of clicking on unsolicited or suspicious links related to authentication flows can reduce the likelihood of successful attacks. Finally, consider deploying web application firewalls (WAF) with rules tailored to detect and block XSS payloads targeting Keycloak endpoints.

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.

References

Community reviews

Loading reviews…