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

Summary

CVECVE-2023-6717
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2024-04-25 16:15:10 UTC
Updated2026-10-27 05:16:52 UTC
DescriptionA 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.

Risk And Classification

Primary CVSS: v3.1 6 MEDIUM from [email protected]

CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:L

EPSS: 0.007110000 probability, percentile 0.515760000 (date 2026-09-13)

Problem Types: CWE-79 | CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')


VersionSourceTypeScoreSeverityVector
3.1[email protected]Secondary6MEDIUMCVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:L
3.1CNACVSS6MEDIUMCVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:L

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
High
Privileges Required
High
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
Low

CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:L

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Red Hat Red Hat AMQ Broker 7 Not specified Not specified
CNA Red Hat Red Hat Build Of Keycloak 22 unaffected 22.0.10-1 * rpm Not specified
CNA Red Hat Red Hat Build Of Keycloak 22 unaffected 22-13 * rpm Not specified
CNA Red Hat Red Hat Build Of Keycloak 22 unaffected 22-16 * rpm Not specified
CNA Red Hat Red Hat Build Of Keycloak 22.0.10 Not specified Not specified
CNA Red Hat RHOSS-1.33-RHEL-8 unaffected 1.33.0-5 * rpm Not specified
CNA Red Hat RHOSS-1.33-RHEL-8 unaffected 1.33.0-5 * rpm Not specified
CNA Red Hat RHOSS-1.33-RHEL-8 unaffected 1.33.0-5 * rpm Not specified
CNA Red Hat RHOSS-1.33-RHEL-8 unaffected 1.33.0-5 * rpm Not specified
CNA Red Hat RHOSS-1.33-RHEL-8 unaffected 1.33.0-5 * rpm Not specified
CNA Red Hat RHOSS-1.33-RHEL-8 unaffected 1.33.0-5 * rpm Not specified
CNA Red Hat RHOSS-1.33-RHEL-8 unaffected 1.33.0-3 * rpm Not specified
CNA Red Hat RHOSS-1.33-RHEL-8 unaffected 1.33.0-5 * rpm Not specified
CNA Red Hat RHOSS-1.33-RHEL-8 unaffected 1.33.0-5 * rpm Not specified
CNA Red Hat RHPAM 7.13.5 Async Not specified Not specified
CNA Red Hat Migration Toolkit For Applications 6 Not specified Not specified
CNA Red Hat Migration Toolkit For Applications 7 Not specified Not specified
CNA Red Hat Red Hat Build Of Apicurio Registry 2 Not specified Not specified
CNA Red Hat Red Hat Build Of Quarkus Not specified Not specified
CNA Red Hat Red Hat Build Of Quarkus Not specified Not specified
CNA Red Hat Red Hat Data Grid 8 Not specified Not specified
CNA Red Hat Red Hat Decision Manager 7 Not specified Not specified
CNA Red Hat Red Hat Developer Hub 1 Not specified Not specified
CNA Red Hat Red Hat Fuse 7 Not specified Not specified
CNA Red Hat Red Hat JBoss Data Grid 7 Not specified Not specified
CNA Red Hat Red Hat JBoss Enterprise Application Platform 6 Not specified Not specified
CNA Red Hat Red Hat JBoss Enterprise Application Platform 6 Not specified Not specified
CNA Red Hat Red Hat JBoss Enterprise Application Platform 6 Not specified Not specified
CNA Red Hat Red Hat JBoss Enterprise Application Platform 7 Not specified Not specified
CNA Red Hat Red Hat JBoss Enterprise Application Platform 8 Not specified Not specified
CNA Red Hat Red Hat JBoss Enterprise Application Platform Expansion Pack Not specified Not specified
CNA Red Hat Red Hat OpenShift GitOps Not specified Not specified
CNA Red Hat Red Hat Process Automation 7 Not specified Not specified
CNA Red Hat Red Hat Single Sign-On 7 Not specified Not specified

References

ReferenceSourceLinkTags
access.redhat.com/errata/RHSA-2024:1868 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
access.redhat.com/errata/RHSA-2024:4057 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
access.redhat.com/errata/RHSA-2024:1867 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
bugzilla.redhat.com/show_bug.cgi af854a3a-2127-422b-91ae-364da2661108 bugzilla.redhat.com
access.redhat.com/errata/RHSA-2024:1353 [email protected] access.redhat.com
access.redhat.com/security/cve/CVE-2023-6717 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
access.redhat.com/errata/RHSA-2024:2945 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Additional Advisory Data

SourceTimeEvent
CNA2023-12-11T00:00:00.000ZReported to Red Hat.
CNA2024-04-16T00:00:00.000ZMade public.

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report