CVE-2024-4028
LOW 3.8CVSS 3.1Keycloak allows cross-site scripting (XSS)
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.
- Published
- 18 Feb 2025
- Last modified
- 10 Sep 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Deferred
- Weakness
- CWE-20CWE-79
- Also known as
- GHSA-q4xq-445g-g6ch
- Sources
- NVDJSONOSV GHSA-q4xq-445g-g6chJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | secalert@redhat.com (Secondary) | CVSS 3.1 | LOW 3.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | LOW 3.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Maven | org.keycloak:keycloak-core | <= 26.1.2 |
References
- https://access.redhat.com/security/cve/CVE-2024-4028 · WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2276418 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-4028 · ADVISORY
- https://github.com/keycloak/keycloak · PACKAGE
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 18 Feb 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 18 Feb 2025)