{"id":"CVE-2023-6717","published":"2024-04-25T16:02:03Z","modified":"2026-11-05T11:37:33Z","title":"Keycloak: xss via assertion consumer service url in saml post-binding flow","vendor":"Red Hat","product":"Red Hat AMQ Broker 7","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00711,"percentile":0.54463,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2024:1353","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2024:1867","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2024:1868","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2024:2945","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2024:4057","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/security/cve/CVE-2023-6717","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2253952","tags":["issue-tracking","x_refsource_REDHAT"]}],"priority":{"score":15.1,"factors":[{"name":"EPSS percentile","points":10.89},{"name":"CVSS severity","points":4.2}]},"vendorSlug":"red-hat","affectedVersions":[{"vendor":null,"product":null,"versions":["< 22.0.10",">= 24.0.0, < 24.0.3"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 22","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 22","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 22","versions":["all versions"]},{"vendor":"Red Hat","product":"RHOSS-1.33-RHEL-8","versions":["all versions"]},{"vendor":"Red Hat","product":"RHOSS-1.33-RHEL-8","versions":["all versions"]},{"vendor":"Red Hat","product":"RHOSS-1.33-RHEL-8","versions":["all versions"]},{"vendor":"Red Hat","product":"RHOSS-1.33-RHEL-8","versions":["all versions"]},{"vendor":"Red Hat","product":"RHOSS-1.33-RHEL-8","versions":["all versions"]},{"vendor":"Red Hat","product":"RHOSS-1.33-RHEL-8","versions":["all versions"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2024-04-25T19:15:14.697195Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.keycloak:keycloak-services","vulnerableRanges":["<22.0.10",">=23.0.0, <24.0.3"],"patched":["22.0.10","24.0.3"],"from":["GHSA-8rmm-gm28-pj8q"],"provenance":"source"}],"summary":{"text":"A cross-site scripting flaw in the SAML client registration component of Keycloak (as listed under Red Hat AMQ Broker 7) lets a registrant store a malicious JavaScript URI as an Assertion Consumer Service POST Binding URL. An attacker with high-privilege access (an administrator or a client with registration access), a user interaction, and a victim submitting the affected form can run arbitrary JavaScript in the victim's context, potentially reaching users in other realms or applications.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:33:23Z"},"euvd":{"id":"EUVD-2024-1164","exploited":false,"provenance":"source"}}