What’s Vulnerable › Vulnerabilities

CVE-2023-6717: Keycloak: xss via assertion consumer service url in saml post-binding flow

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.

Affected products

How to fix

Upgrade to a fixed version: Keycloak 22.0.10, 24.0.3; Red Hat build of Keycloak 22 22.0.10-1; Red Hat RHOSS-1.33-RHEL-8 1.33.0-5. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-6717 or the next vulnerability affects your stack