Vulnerability · Published Feb 18, 2025 · Assigned by redhat
CVE-2024-4028Keycloak-core: stored xss in keycloak when creating a items in admin console
Low 3.8
In plain English
A low-severity improper input validation in keycloak. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 23% of all known vulnerabilities).
Severity (CVSS 3.1)3.8Low
Exploit odds (30 days)0.3%top 77.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.keycloak:keycloak-core | no fix listed | GHSA-q4xq-445g-g6ch |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| keycloak | 18.0.8 – before 18.0.8 | |
| Red Hat | Red Hat Build of Keycloak | see references |
| Red Hat | Red Hat Single Sign-On 7 | see references |
Weakness: CWE-20 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N
References
- https://access.redhat.com/security/cve/CVE-2024-4028 vdb-entry, x_refsource_REDHAT
- RHBZ#2276418 issue-tracking, x_refsource_REDHAT