CVE-2023-6717
MEDIUM 6.0CVSS 3.1Keycloak Cross-site Scripting (XSS) via assertion consumer service URL in SAML POST-binding flow
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.
- Published
- 25 Apr 2024
- Last modified
- 5 Nov 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Deferred
- Weakness
- CWE-20CWE-601CWE-79
- Also known as
- GHSA-8rmm-gm28-pj8q
- Sources
- NVDJSONOSV GHSA-8rmm-gm28-pj8qJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | secalert@redhat.com (Secondary) | CVSS 3.1 | MEDIUM 6.0 | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.0 | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Maven | org.keycloak:keycloak-services | < 22.0.10 | 22.0.10 |
| OSV | Maven | org.keycloak:keycloak-services | >= 23.0.0, < 24.0.3 | 24.0.3 |
References
- https://access.redhat.com/errata/RHSA-2024:1353 · WEB
- https://access.redhat.com/errata/RHSA-2024:1867 · WEB
- https://access.redhat.com/errata/RHSA-2024:1868 · WEB
- https://access.redhat.com/errata/RHSA-2024:2945 · WEB
- https://access.redhat.com/errata/RHSA-2024:4057 · WEB
- https://access.redhat.com/security/cve/CVE-2023-6717 · WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2253952 · WEB
- https://github.com/keycloak/keycloak/security/advisories/GHSA-8rmm-gm28-pj8q · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-6717 · ADVISORY
- https://github.com/keycloak/keycloak · PACKAGE
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 25 Apr 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 17 Apr 2024)