CVE-2023-6717
mediumpriority · track · 0EPSS 0.007 · 53 %ileDEEURUUSEPSS · scored 2026-10-23
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (27)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2024-0914Red Hat Enterprise Linux (keycloak): Mehrere SchwachstellenDeutsch2024-04-16csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann mehrere Schwachstellen in Red Hat Enterprise Linux ausnutzen, um Sicherheitsmaßnahmen zu umgehen, vertrauliche Informationen offenzulegen, Cross-Site Scripting (XSS)-Angriffe durchzuführen oder einen Denial-of-Service-Zustand zu verursachen.
- GHSA-8rmm-gm28-pj8qKeycloak Cross-site Scripting (XSS) via assertion consumer service URL in SAML POST-binding flow2024-04-17ghsa · osvUS
Keycloak allows arbitrary URLs as SAML Assertion Consumer Service POST Binding URL (ACS), including JavaScript URIs (javascript:). Allowing JavaScript URIs in combination with HTML forms leads to JavaScript evaluation in the context of the embedding origin on form submission. #### Acknowledgements: Special thanks to Lauritz Holtmann for reporting this issue and helping us improve our project.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (24)
External citations — patches, advisories, analysis.
- https://access.redhat.com/errata/RHSA-2024:1353cnnvd
- https://access.redhat.com/errata/RHSA-2024:1867cnnvd
- https://access.redhat.com/errata/RHSA-2024:1868cnnvd
- https://access.redhat.com/errata/RHSA-2024:2945cnnvd
- https://access.redhat.com/errata/RHSA-2024:4057cnnvd
- https://access.redhat.com/security/cve/CVE-2023-6717cnnvd
- https://bugzilla.redhat.com/show_bug.cgi?id=2253952cnnvd
- https://cxsecurity.com/cveshow/CVE-2023-6717/cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan