CVE-2023-6717
Keycloak: xss via assertion consumer service url in saml post-binding flow
- Published
- Updated
- Reserved
- Assigned by
- redhat
Description
A flaw was found in the SAML client registration in Keycloak that could allow an administrator to register malicious JavaScript URIs as Assertion Consumer Service POST Binding URLs (ACS), posing a Cross-Site Scripting (XSS) risk. This issue may allow a malicious admin in one realm or a client with registration access to target users in different realms or applications, executing arbitrary JavaScript in their contexts upon form submission. This can enable unauthorized access and harmful actions, compromising the confidentiality, integrity, and availability of the complete KC instance.
Timeline
ID reserved
By redhat
- 5 months later
· 5 months later
Published
- 3 years later
· 3 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| redhatCNA (assigner) | 3.1 | Medium6.0 | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:L |
| NVDNVD · Deferred | 3.1 | Medium6.0 | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:L |
- EPSS (exploitation in 30 days)
- 0.71% · top 46% of all CVEs (7 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.0.
Weakness
Affected products
keycloak
- affected < 22.0.10
- affected 24.0.0 – < 24.0.3
Red Hat · Red Hat AMQ Broker 7
All versions: unaffected
Red Hat · Red Hat build of Keycloak 22
- unaffected 22.0.10-1 – < *
Red Hat · Red Hat build of Keycloak 22
- unaffected 22-13 – < *
Red Hat · Red Hat build of Keycloak 22
- unaffected 22-16 – < *
Red Hat · Red Hat build of Keycloak 22.0.10
All versions: unaffected
- unaffected 1.33.0-5 – < *
- unaffected 1.33.0-5 – < *
- unaffected 1.33.0-5 – < *
- unaffected 1.33.0-5 – < *
- unaffected 1.33.0-5 – < *
- unaffected 1.33.0-5 – < *
- unaffected 1.33.0-3 – < *
- unaffected 1.33.0-5 – < *
- unaffected 1.33.0-5 – < *
All versions: unaffected
Red Hat · Migration Toolkit for Applications 6
All versions: affected
Red Hat · Migration Toolkit for Applications 7
All versions: unaffected
Red Hat · Red Hat build of Apicurio Registry 2
All versions: affected
Red Hat · Red Hat build of Quarkus
All versions: unaffected
Red Hat · Red Hat build of Quarkus
All versions: unaffected
All versions: affected
Red Hat · Red Hat Decision Manager 7
All versions: affected
Red Hat · Red Hat Developer Hub 1
All versions: unaffected
All versions: affected
Red Hat · Red Hat JBoss Data Grid 7
All versions: affected
Red Hat · Red Hat JBoss Enterprise Application Platform 6
All versions: unknown
Red Hat · Red Hat JBoss Enterprise Application Platform 6
All versions: unknown
Red Hat · Red Hat JBoss Enterprise Application Platform 6
All versions: unknown
Red Hat · Red Hat JBoss Enterprise Application Platform 7
All versions: unaffected
Red Hat · Red Hat JBoss Enterprise Application Platform 8
All versions: unaffected
Red Hat · Red Hat JBoss Enterprise Application Platform Expansion Pack
All versions: unaffected
Red Hat · Red Hat OpenShift GitOps
All versions: affected
Red Hat · Red Hat Process Automation 7
All versions: affected
Red Hat · Red Hat Single Sign-On 7
All versions: affected
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.keycloak:keycloak-servicesGHSA-8rmm-gm28-pj8q (opens in a new tab)
References (7)
- RHSA-2024:1353 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2024:1867 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:1868 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:2945 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:4057 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- https://access.redhat.com/security/cve/CVE-2023-6717 (opens in a new tab)vdb-entryx_refsource_REDHATx_transferred
- RHBZ#2253952 (opens in a new tab)issue-trackingx_refsource_REDHATx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-8rmm-gm28-pj8q (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2023-6717)Record last updated .