Keycloak: xss via assertion consumer service url in saml post-binding flow
Summary
| CVE | CVE-2023-6717 |
|---|---|
| State | PUBLISHED |
| Assigner | redhat |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2024-04-25 16:15:10 UTC |
| Updated | 2026-10-27 05:16:52 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 6 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:L
EPSS: 0.007110000 probability, percentile 0.515760000 (date 2026-09-13)
Problem Types: CWE-79 | CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 6 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:L |
| 3.1 | CNA | CVSS | 6 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:L |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
HighPrivileges Required
HighUser Interaction
RequiredScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
LowCVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:L
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Red Hat | Red Hat AMQ Broker 7 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Build Of Keycloak 22 | unaffected 22.0.10-1 * rpm | Not specified |
| CNA | Red Hat | Red Hat Build Of Keycloak 22 | unaffected 22-13 * rpm | Not specified |
| CNA | Red Hat | Red Hat Build Of Keycloak 22 | unaffected 22-16 * rpm | Not specified |
| CNA | Red Hat | Red Hat Build Of Keycloak 22.0.10 | Not specified | Not specified |
| CNA | Red Hat | RHOSS-1.33-RHEL-8 | unaffected 1.33.0-5 * rpm | Not specified |
| CNA | Red Hat | RHOSS-1.33-RHEL-8 | unaffected 1.33.0-5 * rpm | Not specified |
| CNA | Red Hat | RHOSS-1.33-RHEL-8 | unaffected 1.33.0-5 * rpm | Not specified |
| CNA | Red Hat | RHOSS-1.33-RHEL-8 | unaffected 1.33.0-5 * rpm | Not specified |
| CNA | Red Hat | RHOSS-1.33-RHEL-8 | unaffected 1.33.0-5 * rpm | Not specified |
| CNA | Red Hat | RHOSS-1.33-RHEL-8 | unaffected 1.33.0-5 * rpm | Not specified |
| CNA | Red Hat | RHOSS-1.33-RHEL-8 | unaffected 1.33.0-3 * rpm | Not specified |
| CNA | Red Hat | RHOSS-1.33-RHEL-8 | unaffected 1.33.0-5 * rpm | Not specified |
| CNA | Red Hat | RHOSS-1.33-RHEL-8 | unaffected 1.33.0-5 * rpm | Not specified |
| CNA | Red Hat | RHPAM 7.13.5 Async | Not specified | Not specified |
| CNA | Red Hat | Migration Toolkit For Applications 6 | Not specified | Not specified |
| CNA | Red Hat | Migration Toolkit For Applications 7 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Build Of Apicurio Registry 2 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Build Of Quarkus | Not specified | Not specified |
| CNA | Red Hat | Red Hat Build Of Quarkus | Not specified | Not specified |
| CNA | Red Hat | Red Hat Data Grid 8 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Decision Manager 7 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Developer Hub 1 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Fuse 7 | Not specified | Not specified |
| CNA | Red Hat | Red Hat JBoss Data Grid 7 | Not specified | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 6 | Not specified | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 6 | Not specified | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 6 | Not specified | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 7 | Not specified | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8 | Not specified | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform Expansion Pack | Not specified | Not specified |
| CNA | Red Hat | Red Hat OpenShift GitOps | Not specified | Not specified |
| CNA | Red Hat | Red Hat Process Automation 7 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Single Sign-On 7 | Not specified | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| access.redhat.com/errata/RHSA-2024:1868 | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | |
| access.redhat.com/errata/RHSA-2024:4057 | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | |
| access.redhat.com/errata/RHSA-2024:1867 | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | |
| bugzilla.redhat.com/show_bug.cgi | af854a3a-2127-422b-91ae-364da2661108 | bugzilla.redhat.com | |
| access.redhat.com/errata/RHSA-2024:1353 | [email protected] | access.redhat.com | |
| access.redhat.com/security/cve/CVE-2023-6717 | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | |
| access.redhat.com/errata/RHSA-2024:2945 | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2023-12-11T00:00:00.000Z | Reported to Red Hat. |
| CNA | 2024-04-16T00:00:00.000Z | Made public. |
There are currently no legacy QID mappings associated with this CVE.