Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Maven

GHSA-27gc-wj6x-9w55

MEDIUM

GHSA-27gc-wj6x-9w55 is a medium-severity (CVSS 4.3) Cross-site Scripting (XSS) vulnerability in org.keycloak:keycloak-account-ui. O3 Security confirms whether GHSA-27gc-wj6x-9w55 is actually reachable in your code before you act, and blocks exploitation at runtime until you patch.

Keycloak error_description injection on error pages that can trigger phishing attacks

Also known asCVE-2025-10044
Published
Oct 17, 2025
Updated
Oct 17, 2025
Affected
4 pkgs
Patched
4 / 4
Exploits
None indexed

Blast Radius

4 pkgs affected
org.keycloak:keycloak-account-uiorg.keycloak:keycloak-account-uiorg.keycloak:keycloak-admin-uiorg.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

Keycloak’s account console accepts 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.9
Mavenorg.keycloak:keycloak-account-ui26.3.0&&< 26.3.426.3.4
Mavenorg.keycloak:keycloak-admin-uiall versions26.2.9
Mavenorg.keycloak:keycloak-admin-ui26.3.0&&< 26.3.426.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. O3's reachability analysis confirms whether the vulnerable code path is actually invoked in your application, so you act on real exposure instead of every transitive match.

  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 GHSA-27gc-wj6x-9w55 is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

  4. How O3 protects you

    O3 pinpoints whether GHSA-27gc-wj6x-9w55 is reachable in your code and exactly where to fix it, then blocks exploitation in production at runtime until the patched version is deployed.

Tailored to GHSA-27gc-wj6x-9w55. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.

Frequently Asked Questions

Keycloak’s account console accepts 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 GHSA-27gc-wj6x-9w55 in your dependencies?

O3 detects GHSA-27gc-wj6x-9w55 across Maven dependencies and uses function-level reachability to confirm whether the vulnerable code path is actually reachable — not just present. No false positives.