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

Source: https://junglewise.ai/threats/cve-2024-4028-keycloak-allows-cross-site-scripting-xss  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-02-18  
License: CC BY 4.0 with a link back

CVE-2024-4028 · Severity: low · CVSS 3.1 · Published 2025-02-18

Keycloak allows cross-site scripting (XSS)

Technologies: [org.keycloak:keycloak-core (Maven)](https://junglewise.ai/threats/technologies/org-keycloak-keycloak-core). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2024-4028 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-4028 being exploited in the wild.

**How severe is CVE-2024-4028?** Low severity, with a CVSS score of 3.1, published 18 February 2025.

**Which products and versions are affected?** org.keycloak:keycloak-core (Maven) ECOSYSTEM:introduced=0,last_affected=26.1.2.

**Is there a fix for CVE-2024-4028?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**Am I affected by CVE-2024-4028?** Check whether you run org.keycloak:keycloak-core (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Affected products

- org.keycloak:keycloak-core (Maven) ECOSYSTEM:introduced=0,last_affected=26.1.2

## Identifiers

- CVE-2024-4028
- GHSA-q4xq-445g-g6ch

## Related threats

- [Keycloak mTLS Authentication Bypass via Reverse Proxy TLS Termination](https://junglewise.ai/threats/cve-2024-10039-keycloak-mtls-authentication-bypass-via-reverse-proxy-tls)
- [Keycloaks's One Time Passcode (OTP) is valid longer than expiration timeSeverity](https://junglewise.ai/threats/cve-2024-7318-keycloaks-s-one-time-passcode-otp-is-valid-longer-than-expiration)
- [Keycloak Denial of Service vulnerability](https://junglewise.ai/threats/cve-2023-6841-keycloak-denial-of-service-vulnerability)
- [Keycloak Open Redirect vulnerability](https://junglewise.ai/threats/cve-2024-7260-keycloak-open-redirect-vulnerability)
- [Duplicate Advisory: Keycloak Uses a Key Past its Expiration Date](https://junglewise.ai/threats/duplicate-advisory-keycloak-uses-a-key-past-its-expiration-date-a126106c)
