Keycloak: keycloak error_description injection on error pages (Keycloak keycloak)

CVE-2025-10044
MEDIUM 4.3

En bref

Source
NVD
EPSS
EPSS 0.31 % · centile 24 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
redhat
Statut NVD
Deferred

Description

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.

Faiblesses (CWE)

  • CWE-79 — Injection de code indirecte (XSS)

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 4.3CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:Nredhat
CVSS 3.1MEDIUM 4.3CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:NNVD · secalert@redhat.com (Secondary)

Avis

Références européennes

Produits affectés

ProduitVersions
Keycloak · keycloakaffected 0 < 26.2.9
Red Hat · Red Hat build of Keycloak 26.0unaffected 26.0.17-1 < *
Red Hat · Red Hat build of Keycloak 26.0unaffected 26.0-21 < *
Red Hat · Red Hat build of Keycloak 26.0unaffected 26.0-22 < *
Red Hat · Red Hat build of Keycloak 26.0.17
Red Hat · Red Hat build of Keycloak 26.2unaffected 26.2.9-1 < *
Red Hat · Red Hat build of Keycloak 26.2unaffected 26.2-9 < *
Red Hat · Red Hat build of Keycloak 26.2unaffected 26.2-9 < *
Red Hat · Red Hat build of Keycloak 26.2.9

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD