CVE-2024-4028: Keycloak-core: stored xss in keycloak when creating a items in admin console
Vulnerability summary
CVE-2024-4028 is a low (CVSS 3.8) Improper Input Validation vulnerability in keycloak. EPSS estimates a 0.31% chance of exploitation in the next 30 days, higher than 25.5% of scored vulnerabilities.
Not severe (CVSS 3.8, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 0 · Related 4Timeline
- 18-02-2025PublishedVulnerability first disclosed.
- 21-11-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 5 sources · 1 version- OSV · WolfiEcosystem advisory · calculated3.8LowCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N
- OSV · ChainguardEcosystem advisory · calculated3.8LowCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N
- OSV · MavenEcosystem advisory · calculated3.8LowCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N
- NVDNIST3.8LowCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N
EPSS trend
Probability
0.31%
Chance of exploitation in the next 30 days
Percentile
26%
Versus all other CVEs
30-day change
Increase +0.01 pp
From 0.30% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, administrative account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard5 products
- activemq-artemis-broker-kubernetesAll versions (No fix recorded)
- keycloak< 26.1.3-r0
- keycloak-config-cli< 6.4.0-r1
- keycloak-config-cli-compat< 6.4.0-r1
- keycloak-config-cli-iamguarded-compat< 6.4.0-r1
Wolfi4 products
- keycloak< 26.1.3-r0
- keycloak-config-cli< 6.4.0-r1
- keycloak-config-cli-compat< 6.4.0-r1
- keycloak-config-cli-iamguarded-compat< 6.4.0-r1
Org.keycloak1 product
- keycloak-core≤ 26.1.2
3 vendors · 10 products
References
4 links- github.com/keycloak/keycloakPACKAGE