XSS in Keycloak

CVE-2025-10044

A flaw was found in Keycloak. Keycloak’s account console and other pages accept arbitrary text in the error_description query parameter. This text is directly rendered in error pages without validation or sanitization. While HTML encoding prevents XSS, an attacker can craft URLs with misleading messages (e.g., fake support phone numbers or URLs), which are displayed within the trusted Keycloak UI. This creates a phishing vector, potentially tricking users into contacting malicious actors.

Vulnerability class: XSS (Cross-Site Scripting)

EPSS: 0.003 (21.3th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2025-10044?
CVE-2025-10044 is a medium-severity vulnerability in Keycloak, classified under Cross-site Scripting. CVSS score: 4.3/10. Published 2025-09-05.
How severe is CVE-2025-10044?
Medium severity. CVSS v3 base score is 4.3 out of 10.