CVE-2024-4028 json
Keycloak-core: stored xss in keycloak when creating a items in admin console
published 2025-02-18 20 mo ago modified 2026-09-10 1 mo ago also GHSA-q4xq-445g-g6ch , EUVD-2024-32594
- cvss
- 3.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 22%
- public exploits
- 0
- none known
Summary
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.
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-4028 updated cvss 3.8
keycloak-core: Stored XSS in Keycloak when creating a items in Admin Console
-
Red Hat Single Sign-On 7 rh-sso7-keycloak rh-sso7-keycloakaffected: workaround, no fix available “Currently the is no mitigation available for this vulnerability.”
-
Red Hat Build of Keycloak keycloak-corenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 20 mo ago
Exploit prediction
0.30% chance of exploitation in the next 30 days, higher than 22% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 3.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N |
| GitHub | 3.1 | 3.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.keycloak:keycloak-core | <=26.1.2 |
no fix listed |
Affected products
- Red Hat Red Hat Build of Keycloak
- Red Hat Red Hat Single Sign-On 7
Classification
References
-
access.redhat.com
/security/cve/CVE-2024-4028
vdb-entry, web
-
bugzilla.redhat.com
/show_bug.cgi?id=2276418
issue-tracking, web
-
nvd.nist.gov
/vuln/detail/CVE-2024-4028
advisory
-
github.com
/keycloak/keycloak
package
Sources
- CVE List CVE-2024-4028
- GitHub Advisory GHSA-q4xq-445g-g6ch
- NVD CVE-2024-4028
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.