# CVE-2024-4028: Keycloak-core: stored xss in keycloak when creating a items in admin console

- Priority: **Routine**
- Reason: Not severe (CVSS 3.8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-02-18 · Modified: 2025-11-21
- Aliases: CGA-2qqr-g8gr-c7q2, CGA-6v52-9g4j-7wrw, CGA-7c56-fpqf-hw48, CGA-gx58-px66-5c52, CGA-qmff-h2g7-c5v4, CGA-w47h-f777-68mh, CGA-w4x2-777x-h925, CGA-w732-f3r8-6r73, GHSA-q4xq-445g-g6ch, CGA-qxmm-4ff4-wgqh
- Record: https://cvemate.com/vulnerability/CVE-2024-4028 · JSON: https://cvemate.com/vulnerability/CVE-2024-4028/json

## Description

```text
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.
```

## Signals

- CVSS: 3.8 low (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N
- EPSS: 0.309%, percentile 25.555%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard activemq-artemis-broker-kubernetes (Chainguard): All versions (No fix recorded)
- chainguard keycloak (Chainguard): \< 26.1.3-r0
- chainguard keycloak-config-cli (Chainguard): \< 6.4.0-r1
- chainguard keycloak-config-cli-compat (Chainguard): \< 6.4.0-r1
- chainguard keycloak-config-cli-iamguarded-compat (Chainguard): \< 6.4.0-r1
- wolfi keycloak (Wolfi): \< 26.1.3-r0
- wolfi keycloak-config-cli (Wolfi): \< 6.4.0-r1
- wolfi keycloak-config-cli-compat (Wolfi): \< 6.4.0-r1
- wolfi keycloak-config-cli-iamguarded-compat (Wolfi): \< 6.4.0-r1
- org.keycloak keycloak-core (Maven): ≤ 26.1.2

## References

- <https://access.redhat.com/security/cve/CVE-2024-4028>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2276418>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-4028>
- <https://github.com/keycloak/keycloak>

---

Data as of 2026-12-05T09:03:45.549Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
