GitHub Advisoryadvisory · Maven
GHSA-cvg2-7c3j-g36j Keycloak vulnerable to reflected XSS via wildcard in OIDC redirect_uri
MEDIUM
Official page ↗
- Aliases
- CVE-2023-6134
- Ecosystem
- Maven
- Packages
- org.keycloak:keycloak-services
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
- Weaknesses
- CWE-75
- Reviewed
- 2023-12-18
Affected packages
• Maven org.keycloak:keycloak-services: < 23.0.3 → fixed in 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.
Related
Alias · CVE (1)
- CVE-2023-6134 A flaw was found in Keycloak that prevents certain schemes in redirects, but permits them if a wildcard is appended to the token. vulnerability
Weakness · CWE (1)
- CWE-75 Failure to Sanitize Special Elements into a Different Plane weakness
References
- https://github.com/keycloak/keycloak/security/advisories/GHSA-cvg2-7c3j-g36j web
- https://nvd.nist.gov/vuln/detail/CVE-2023-6134 advisory
- https://github.com/keycloak/keycloak/commit/15a21bf8e4fb71f006ba9caf25b9c9d1d152cd20 web
- https://access.redhat.com/errata/RHSA-2023:7854 web
- https://access.redhat.com/errata/RHSA-2023:7855 web
- https://access.redhat.com/errata/RHSA-2023:7856 web
- https://access.redhat.com/errata/RHSA-2023:7857 web
- https://access.redhat.com/errata/RHSA-2023:7858 web
- https://access.redhat.com/errata/RHSA-2023:7860 web
- https://access.redhat.com/errata/RHSA-2023:7861 web
- https://access.redhat.com/security/cve/CVE-2023-6134 web
- https://bugzilla.redhat.com/show_bug.cgi?id=2249673 web
- https://github.com/keycloak/keycloak package