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

- Severity: Low 3.8 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 25% of CVEs (2026-12-02)
- Published: 2025-02-18T17:54:08.752Z
- Modified: 2026-09-10T03:49:47.836Z
- Also known as: GHSA-q4xq-445g-g6ch
- Weaknesses: CWE-20, CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- keycloak: from 18.0.8 before 18.0.8
- keycloak-core: no versions given
- rh-sso7-keycloak: no versions given
- org.keycloak:keycloak-core (Maven): up to 26.1.2

## Every score

- redhat: CVSS:3.1 3.8 Low `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 3.8 Low `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, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2276418> (issue-tracking, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-4028> (advisory)
- <https://github.com/keycloak/keycloak> (package)

## Sources

- CVE List: [CVE-2024-4028](https://www.cve.org/CVERecord?id=CVE-2024-4028), CVE Terms of Use, modified 2025-11-21
- GitHub Advisory Database: [GHSA-q4xq-445g-g6ch](https://github.com/advisories/GHSA-q4xq-445g-g6ch), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-4028](https://nvd.nist.gov/vuln/detail/CVE-2024-4028), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-4028 · Whole record: https://cve.day/CVE-2024-4028.json · Rebuilt by cve.day 2026-11-25T22:58:51.820Z
