cve.bz

CVE-2023-6717 Cross-site Scripting

6.0 mediumEPSS 0.7%Fix available

Medium (6.0). EPSS 0.7% estimated probability of exploitation activity in the next 30 days. Fixed in org.keycloak:keycloak-services 22.0.10, 24.0.3.

On this page
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.

Severity

CVSS 3.1

6.0 medium
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:L
EPSS
0.7% (unchanged from 0.7% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 54th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2024-04-25. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-79 Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • org.keycloak:keycloak-services (Maven): fixed in 22.0.10, 24.0.3
  • Red Hat Red Hat build of Keycloak 22: fixed in 22.0.10-1
  • Red Hat Red Hat build of Keycloak 22: fixed in 22-13
  • Red Hat Red Hat build of Keycloak 22: fixed in 22-16
  • Red Hat RHOSS-1.33-RHEL-8: fixed in 1.33.0-5
  • Red Hat RHOSS-1.33-RHEL-8: fixed in 1.33.0-3

Ask an AI about this CVE

Show the promptExplain CVE-2023-6717 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-6717?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-6717?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-6717 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat build of Keycloak 2222.0.10-1
Red Hat build of Keycloak 2222-13
Red Hat build of Keycloak 2222-16
Red Hat RHOSS-1.33-RHEL-81.33.0-5
Red Hat RHOSS-1.33-RHEL-81.33.0-3

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-8rmm-gm28-pj8qMavenorg.keycloak:keycloak-services<22.0.1022.0.10
GHSA-8rmm-gm28-pj8qMavenorg.keycloak:keycloak-services>=23.0.0 <24.0.324.0.3

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat AMQ Broker 7keycloakFixed 2024-05-21RHSA-2024:2945
Red Hat build of Keycloak 22rhbk/keycloak-operator-bundle:22.0.10-1Fixed 2024-04-16RHSA-2024:1867
Red Hat build of Keycloak 22rhbk/keycloak-rhel9:22-13Fixed 2024-04-16RHSA-2024:1867
Red Hat build of Keycloak 22rhbk/keycloak-rhel9-operator:22-16Fixed 2024-04-16RHSA-2024:1867
Red Hat build of Keycloak 22.0.10keycloakFixed 2024-04-16RHSA-2024:1868
RHOSS-1.33-RHEL-8openshift-serverless-1/logic-data-index-ephemeral-rhel8:1.33.0-5Fixed 2024-06-24RHSA-2024:4057
RHOSS-1.33-RHEL-8openshift-serverless-1/logic-data-index-postgresql-rhel8:1.33.0-5Fixed 2024-06-24RHSA-2024:4057
RHOSS-1.33-RHEL-8openshift-serverless-1/logic-jobs-service-ephemeral-rhel8:1.33.0-5Fixed 2024-06-24RHSA-2024:4057
RHOSS-1.33-RHEL-8openshift-serverless-1/logic-jobs-service-postgresql-rhel8:1.33.0-5Fixed 2024-06-24RHSA-2024:4057
RHOSS-1.33-RHEL-8openshift-serverless-1/logic-kn-workflow-cli-artifacts-rhel8:1.33.0-5Fixed 2024-06-24RHSA-2024:4057
Migration Toolkit for Applications 6mta/mta-ui-rhel9Will not fix
Migration Toolkit for Applications 7mta/mta-ui-rhel9Not affected
Red Hat build of Apicurio Registry 2keycloakAffected
Red Hat build of Quarkuskeycloak-coreNot affected
Red Hat Data Grid 8keycloakWill not fix
Red Hat Decision Manager 7keycloakFix deferred
Red Hat Developer Hub 1rhdh/rhdh-hub-rhel9Not affected
Red Hat Fuse 7keycloakWill not fix
Red Hat JBoss Data Grid 7keycloakWill not fix
Red Hat JBoss Enterprise Application Platform 6keycloakOut of support scope
13 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-6717.

Attack patterns (CAPEC)

  • CAPEC-63 Cross-Site Scripting (XSS) Likelihood: High · Severity: Very High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-209 XSS Using MIME Type Mismatch Severity: Medium
  • CAPEC-588 DOM-Based XSS Likelihood: High · Severity: Very High
  • CAPEC-591 Reflected XSS Likelihood: High · Severity: Very High
  • CAPEC-592 Stored XSS Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON