NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
☕
☕ Maven
Not in CISA KEV
MEDIUM severity

CVE-2025-10044 — keycloak-account-ui

MEDIUMFix: keycloak/keycloak#42443

CVE-2025-10044 is a medium-severity (CVSS 4.3) Cross-site Scripting (XSS) vulnerability in org.keycloak:keycloak-account-ui. A fix is available for org.keycloak:keycloak-account-ui — see the affected versions and patch details below.

Keycloak: keycloak error_description injection on error pages

Also known asGHSA-27gc-wj6x-9w55
Published
Updated
Affected
4 pkgs
Patched
4 / 4
Exploits
None indexed
Exploitation data as of Oct 30, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

No confirmed exploitation observed yet

  • CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.

Exploitation and automatability from CISA’s SSVC triage for CVE-2025-10044.

EPSS Exploitation Probability

via FIRST.org ↗
0.3%probability of exploitation in next 30 days
Lower Risk+0.00%
Lower risk than most CVEs24th percentile — riskier than 24% of all scored CVEsHighest risk
0.00%0.27%0.54%0.81%0.0%0.3%Apr 26Aug 26Oct 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

4 pkgs affected
☕org.keycloak:keycloak-account-ui☕org.keycloak:keycloak-account-ui☕org.keycloak:keycloak-admin-ui☕org.keycloak:keycloak-admin-ui

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.

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.

Affected Packages

4 total 4 fixed
EcosystemPackageVulnerable rangeFix
☕Mavenorg.keycloak:keycloak-account-uiall versions26.2.9org.keycloak:keycloak-account-ui:26.2.9
☕Mavenorg.keycloak:keycloak-account-ui≥ 26.3.0&&< 26.3.426.3.4org.keycloak:keycloak-account-ui:26.3.4
☕Mavenorg.keycloak:keycloak-admin-uiall versions26.2.9org.keycloak:keycloak-admin-ui:26.2.9
☕Mavenorg.keycloak:keycloak-admin-ui≥ 26.3.0&&< 26.3.426.3.4org.keycloak:keycloak-admin-ui:26.3.4

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.keycloak:keycloak-account-ui, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update org.keycloak:keycloak-account-ui to 26.2.9 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2025-10044 is resolved across your whole dependency graph.

  3. Workarounds

    Escape or sanitise the affected output on the server side rather than relying on client-side filtering, and add a Content-Security-Policy that blocks inline script execution so injected markup cannot run even if it reaches the page.

Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Red HatModerate
Workaround published by Red Hat
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
Source: Red Hat security advisory for CVE-2025-10044 (CC BY 4.0)
ProductFixed inAdvisory
Red Hat build of Keycloak 26.0rhbk/keycloak-operator-bundle:26.0.17-1RHSA-2025:19923
Red Hat build of Keycloak 26.0.17keycloakRHSA-2025:19925
Red Hat build of Keycloak 26.2rhbk/keycloak-operator-bundle:26.2.9-1RHSA-2025:16400
Red Hat build of Keycloak 26.2.9keycloakRHSA-2025:16399

Frequently Asked Questions

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.
O3 Security · Impact-Aware SCA

Is CVE-2025-10044 in your dependencies?

Find it across Maven, including transitive dependencies.

CVE-2025-10044: keycloak-account-ui XSS — Fixed in 26.2.9