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

- Severity: Medium 6.0 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.71%, higher than 54% of CVEs (2026-12-01)
- Published: 2024-04-17T17:33:04.000Z
- Modified: 2026-11-05T12:17:38.680Z
- Also known as: GHSA-8rmm-gm28-pj8q
- Weaknesses: CWE-20, CWE-79, CWE-601
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- keycloak: before 22.0.10; from 24.0.0 before 24.0.3
- rhbk/keycloak-operator-bundle: no versions given (not affected: from 22.0.10-1 before *)
- rhbk/keycloak-rhel9: no versions given (not affected: from 22-13 before *)
- rhbk/keycloak-rhel9-operator: no versions given (not affected: from 22-16 before *)
- openshift-serverless-1/logic-data-index-ephemeral-rhel8: no versions given (not affected: from 1.33.0-5 before *)
- openshift-serverless-1/logic-data-index-postgresql-rhel8: no versions given (not affected: from 1.33.0-5 before *)
- openshift-serverless-1/logic-jobs-service-ephemeral-rhel8: no versions given (not affected: from 1.33.0-5 before *)
- openshift-serverless-1/logic-jobs-service-postgresql-rhel8: no versions given (not affected: from 1.33.0-5 before *)
- openshift-serverless-1/logic-kn-workflow-cli-artifacts-rhel8: no versions given (not affected: from 1.33.0-5 before *)
- openshift-serverless-1/logic-operator-bundle: no versions given (not affected: from 1.33.0-5 before *)
- openshift-serverless-1/logic-rhel8-operator: no versions given (not affected: from 1.33.0-3 before *)
- openshift-serverless-1/logic-swf-builder-rhel8: no versions given (not affected: from 1.33.0-5 before *)
- openshift-serverless-1/logic-swf-devmode-rhel8: no versions given (not affected: from 1.33.0-5 before *)
- Red Hat RHPAM 7.13.5 async: no versions given
- mta/mta-ui-rhel9: no versions given
- keycloak-core: no versions given
- rhdh/rhdh-hub-rhel9: no versions given
- org.keycloak-keycloak-parent: no versions given
- rh-sso7-keycloak: no versions given
- openshift-gitops-1/gitops-rhel8-operator: no versions given
- org.keycloak:keycloak-services (Maven): before 22.0.10; from 23.0.0 before 24.0.3

## Every score

- redhat: 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`
- GitHub: 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`

## References

- <https://access.redhat.com/errata/RHSA-2024:1353> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:1867> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:1868> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:2945> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:4057> (vendor-advisory, web)
- <https://access.redhat.com/security/cve/CVE-2023-6717> (vdb-entry, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2253952> (issue-tracking, web)
- <https://github.com/keycloak/keycloak/security/advisories/GHSA-8rmm-gm28-pj8q> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-6717> (advisory)
- <https://github.com/keycloak/keycloak> (package)

## Sources

- CVE List: [CVE-2023-6717](https://www.cve.org/CVERecord?id=CVE-2023-6717), CVE Terms of Use, modified 2026-11-05
- GitHub Advisory Database: [GHSA-8rmm-gm28-pj8q](https://github.com/advisories/GHSA-8rmm-gm28-pj8q), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2023-6717](https://nvd.nist.gov/vuln/detail/CVE-2023-6717), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2023-6717 · Whole record: https://cve.day/CVE-2023-6717.json · Rebuilt by cve.day 2026-11-25T22:58:33.581Z
