Keycloak: xss via assertion consumer service url in saml post-binding flow
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2023-6717
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 22:07 UTC · Revision 1
Source evidence
Keycloak: xss via assertion consumer service url in saml post-binding flow
core-osv · Original sourcePublished 25 Apr 2024, 16:02 UTC
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.
osv:CVE-2023-6717
Complete source record
{
"id": "2f8ae8fdeb15f71b190031d7fcfa9bc73973184664a4dc4c0cb801747b16d0d5",
"url": "https://osv.dev/vulnerability/CVE-2023-6717",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Keycloak: xss via assertion consumer service url in saml post-binding flow",
"summary": "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.",
"evidence": "osv:CVE-2023-6717",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2023-6717",
"aliases": [
"CVE-2023-6717",
"GHSA-8rmm-gm28-pj8q"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:L"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/keycloak/keycloak",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "bf8c3c32e53449a632381605f1162fafe9abe8eb"
},
{
"introduced": "a43d7b1cd6fe713e491aafdc8c618721d34f10e6"
},
{
"fixed": "27d38787d9eae0854f79a358cda77f834008b71a"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "22.0.10"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"introduced": "24.0.0"
},
{
"fixed": "24.0.3"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}
}
],
"versions": [
"2.4.0.Test",
"1.3.0.Final",
"1.1.0.Beta2",
"1.0.0.Final",
"1.0-final",
"1.0-rc-1",
"1.0-beta-4",
"1.0-beta-2",
"1.0-beta-1",
"1.0-alpha-3",
"1.0-alpha-2",
"1.0-alpha-1",
"1.0-alpha-1-12062013"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-6717.json"
}
}
],
"modified": "2026-10-28T02:30:24.079839774Z",
"provider": "osv",
"references": [
"https://access.redhat.com/downloads/content/package-browser/",
"https://access.redhat.com/jbossnetwork/restricted/listSoftware.html",
"https://catalog.redhat.com/software/containers/",
"https://access.redhat.com/errata/RHSA-2024:1353",
"https://access.redhat.com/errata/RHSA-2024:1867",
"https://access.redhat.com/errata/RHSA-2024:1868",
"https://access.redhat.com/errata/RHSA-2024:2945",
"https://access.redhat.com/errata/RHSA-2024:4057",
"https://access.redhat.com/security/cve/CVE-2023-6717",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/6xxx/CVE-2023-6717.json",
"https://nvd.nist.gov/vuln/detail/CVE-2023-6717",
"https://bugzilla.redhat.com/show_bug.cgi?id=2253952",
"https://github.com/keycloak/keycloak"
],
"provider_metadata": {
"cwe_ids": [
"CWE-79"
],
"cna_assigner": "redhat",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"fixed": "22.0.10-1"
},
{
"fixed": "22-13"
},
{
"fixed": "22-16"
},
{
"fixed": "1.33.0-5"
},
{
"fixed": "1.33.0-5"
},
{
"fixed": "1.33.0-5"
},
{
"fixed": "1.33.0-5"
},
{
"fixed": "1.33.0-5"
},
{
"fixed": "1.33.0-5"
},
{
"fixed": "1.33.0-3"
},
{
"fixed": "1.33.0-5"
},
{
"fixed": "1.33.0-5"
}
],
"source": "AFFECTED_FIELD",
"strategy": "InverseAffectedRanges"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/6xxx/CVE-2023-6717.json"
}
},
"related_cves": [
{
"value": "CVE-2023-6717",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 490450,
"published_at": "2024-04-25T16:02:03.267+00:00"
}