{"id":"CVE-2024-4028","state":"PUBLISHED","title":"Keycloak-core: stored xss in keycloak when creating a items in admin console","description":"A vulnerability was found in Keycloak. This issue may allow a privileged attacker to use a malicious payload as the permission while creating items (Resource and Permissions) from the admin console, leading to a stored cross-site scripting (XSS) attack.","publishedAt":"2025-02-18T17:54:08.752Z","updatedAt":"2025-11-21T06:47:28.566Z","severity":{"score":3.8,"label":"Low","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N","source":"redhat"},"assigner":"redhat","products":["keycloak","Red Hat Red Hat Build of Keycloak","Red Hat Red Hat Single Sign-On 7"],"affected":[{"packageName":"keycloak","defaultStatus":"unaffected","versions":[{"version":"18.0.8","status":"affected","lessThan":"18.0.8","versionType":"semver"}],"collectionURL":"https://github.com/keycloak/keycloak"},{"vendor":"Red Hat","product":"Red Hat Build of Keycloak","packageName":"keycloak-core","defaultStatus":"unaffected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/a:redhat:build_keycloak:"]},{"vendor":"Red Hat","product":"Red Hat Single Sign-On 7","packageName":"rh-sso7-keycloak","defaultStatus":"affected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/a:redhat:red_hat_single_sign_on:7"]}],"references":["https://access.redhat.com/security/cve/CVE-2024-4028","https://bugzilla.redhat.com/show_bug.cgi?id=2276418"],"weaknesses":["CWE-20"],"ingestedAt":"2026-10-29T20:07:56.516Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/4xxx/CVE-2024-4028.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-4028","state":"PUBLISHED","datePublished":"2025-02-18T17:54:08.752Z","dateUpdated":"2025-11-21T06:47:28.566Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2024-04-22T13:34:50.988Z"},"containers":{"cna":{"title":"Keycloak-core: stored xss in keycloak when creating a items in admin console","descriptions":[{"lang":"en","value":"A vulnerability was found in Keycloak. This issue may allow a privileged attacker to use a malicious payload as the permission while creating items (Resource and Permissions) from the admin console, leading to a stored cross-site scripting (XSS) attack."}],"affected":[{"packageName":"keycloak","defaultStatus":"unaffected","versions":[{"version":"18.0.8","status":"affected","lessThan":"18.0.8","versionType":"semver"}],"collectionURL":"https://github.com/keycloak/keycloak"},{"vendor":"Red Hat","product":"Red Hat Build of Keycloak","packageName":"keycloak-core","defaultStatus":"unaffected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/a:redhat:build_keycloak:"]},{"vendor":"Red Hat","product":"Red Hat Single Sign-On 7","packageName":"rh-sso7-keycloak","defaultStatus":"affected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/a:redhat:red_hat_single_sign_on:7"]}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2024-4028","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2276418","name":"RHBZ#2276418","tags":["issue-tracking","x_refsource_REDHAT"]}],"metrics":[{"other":{"content":{"value":"Low","namespace":"https://access.redhat.com/security/updates/classification/"},"type":"Red Hat severity rating"}},{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":3.8,"baseSeverity":"LOW","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"HIGH","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N","version":"3.1"},"format":"CVSS"}],"problemTypes":[{"descriptions":[{"cweId":"CWE-20","description":"Improper Input Validation","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"redhat","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateUpdated":"2025-11-21T06:47:28.566Z"},"datePublic":"2025-02-18T17:31:00.000Z","x_redhatCweChain":"CWE-20: Improper Input Validation","workarounds":[{"lang":"en","value":"Currently the is no mitigation available for this vulnerability."}],"timeline":[{"lang":"en","time":"2024-04-22T00:00:00.000Z","value":"Reported to Red Hat."},{"lang":"en","time":"2025-02-18T17:31:00.000Z","value":"Made public."}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-02-18T18:38:24.806006Z","id":"CVE-2024-4028","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-02-18T18:42:44.549Z"}}]}}}