# Keycloak error_description injection on error pages that can trigger phishing attacks

Advisory record · `GHSA-27gc-wj6x-9w55`

- **Identifiers:** `GHSA-27gc-wj6x-9w55` · `CVE-2025-10044`
- **State:** Confirmed
- **Severity:** CVSS 4.3 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-79](https://cwe.mitre.org/data/definitions/79.html)
- **Tags:** [Cross-site scripting (XSS)](https://agentprime.io/advisories/tag/xss.md)
- **Published:** 17 Oct 2025
- **Updated:** 17 Oct 2025
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 17 Oct 2025, 17:39 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `org.keycloak:keycloak-account-ui` (Maven): affected `<26.2.9 || >=26.3.0, <26.3.4`; fixed in `26.2.9`, `26.3.4`
- `org.keycloak:keycloak-admin-ui` (Maven): affected `<26.2.9 || >=26.3.0, <26.3.4`; fixed in `26.2.9`, `26.3.4`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Keycloak's account console and admin console (org.keycloak:keycloak-account-ui and org.keycloak:keycloak-admin-ui) are affected in versions before 26.2.9 and from 26.3.0 before 26.3.4. The error_description query parameter is shown on error pages without validation, so an attacker can craft a link that displays misleading text, such as a fake support number or URL, inside the trusted Keycloak interface. Upgrade to 26.2.9 or 26.3.4. The source gives few details on any workaround.

Written 7 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 4.3 Medium, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N`, from CNA (redhat)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0032, the 25th percentile, on 12 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 8 Oct 2025, 14:06 UTC: [Published by the maintainers as a GitHub repository advisory](https://github.com/keycloak/keycloak/security/advisories/GHSA-27gc-wj6x-9w55)
- 31 Oct 2026, 15:10 UTC: First seen by agentprime
- 31 Oct 2026, 15:10 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-27gc-wj6x-9w55)

## Sources

- [GitHub Advisory Database: GHSA-27gc-wj6x-9w55](https://github.com/advisories/GHSA-27gc-wj6x-9w55)
- [OSV: GHSA-27gc-wj6x-9w55](https://osv.dev/vulnerability/GHSA-27gc-wj6x-9w55)
- <https://github.com/keycloak/keycloak/security/advisories/GHSA-27gc-wj6x-9w55>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-10044>
- <https://github.com/keycloak/keycloak/pull/42035>
- <https://access.redhat.com/errata/RHSA-2025:16399>
- <https://access.redhat.com/errata/RHSA-2025:16400>
- <https://access.redhat.com/security/cve/CVE-2025-10044>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2393551>
- <https://github.com/keycloak/keycloak>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-27gc-wj6x-9w55>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-27gc-wj6x-9w55/>. Everything for agents: <https://agentprime.io/llms.txt>.
