CVE-2023-6717
MEDIUM6.0EPSS 0.10%Keycloak Cross-site Scripting (XSS) via assertion consumer service URL in SAML POST-binding flow
Published: 4/17/2024Modified: 2/4/2026
Description
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.
Affected packages (1)
- Maven/org.keycloak:keycloak-servicesfrom 0, < 22.0.10
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.0 | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:L |
References (10)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2023-6717
- PATCHhttps://github.com/keycloak/keycloak
- WEBhttps://access.redhat.com/errata/RHSA-2024:1353
- WEBhttps://access.redhat.com/errata/RHSA-2024:1867
- WEBhttps://access.redhat.com/errata/RHSA-2024:1868
- WEBhttps://access.redhat.com/errata/RHSA-2024:2945
- WEBhttps://access.redhat.com/errata/RHSA-2024:4057
- WEBhttps://access.redhat.com/security/cve/CVE-2023-6717
- WEBhttps://bugzilla.redhat.com/show_bug.cgi?id=2253952
- WEBhttps://github.com/keycloak/keycloak/security/advisories/GHSA-8rmm-gm28-pj8q