Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.keycloak/keycloak-services
  4. ›
  5. CVE-2023-6134

CVE-2023-6134: Failure to Sanitize Special Elements into a Different Plane (Special Element Injection)

December 14, 2023 (updated February 14, 2024)

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

  • access.redhat.com/errata/RHSA-2023:7854
  • access.redhat.com/errata/RHSA-2023:7855
  • access.redhat.com/errata/RHSA-2023:7856
  • access.redhat.com/errata/RHSA-2023:7857
  • access.redhat.com/errata/RHSA-2023:7858
  • access.redhat.com/errata/RHSA-2023:7860
  • access.redhat.com/errata/RHSA-2023:7861
  • access.redhat.com/security/cve/CVE-2023-6134
  • bugzilla.redhat.com/show_bug.cgi?id=2249673
  • github.com/advisories/GHSA-cvg2-7c3j-g36j
  • github.com/keycloak/keycloak/commit/15a21bf8e4fb71f006ba9caf25b9c9d1d152cd20
  • github.com/keycloak/keycloak/security/advisories/GHSA-cvg2-7c3j-g36j
  • nvd.nist.gov/vuln/detail/CVE-2023-6134

Code Behaviors & Features

Detect and mitigate CVE-2023-6134 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 22.0.7

Fixed versions

  • 23.0.0

Solution

Upgrade to version 23.0.0 or above.

Impact 5.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

maven/org.keycloak/keycloak-services/CVE-2023-6134.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:34 +0000.