Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.keycloak/keycloak-core
  4. ›
  5. CVE-2024-4028

CVE-2024-4028: Keycloak allows cross-site scripting (XSS)

February 18, 2025 (updated February 20, 2025)

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.

References

  • access.redhat.com/security/cve/CVE-2024-4028
  • bugzilla.redhat.com/show_bug.cgi?id=2276418
  • github.com/advisories/GHSA-q4xq-445g-g6ch
  • github.com/keycloak/keycloak
  • nvd.nist.gov/vuln/detail/CVE-2024-4028

Code Behaviors & Features

Detect and mitigate CVE-2024-4028 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 26.1.2

Solution

Unfortunately, there is no solution available yet.

Impact 3.8 LOW

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-20: Improper Input Validation
  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

maven/org.keycloak/keycloak-core/CVE-2024-4028.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:11 +0000.