Advisory record · GHSA-w9mf-83w3-fv49

Keycloak vulnerable to Stored Cross site Scripting (XSS) when loading default roles

CVSS 5.4 MediumEPSS 0.0070 · 53rd percentile

Published by the GitHub Advisory Database at 23 Sept 2022, 16:32 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
org.keycloak:keycloak-parentMaven<19.0.219.0.2
Identifiers
GHSA-w9mf-83w3-fv49 · CVE-2022-2256
Weakness (CWE)
CWE-79
Published
23 Sept 2022
Updated
4 May 2026

Machine-written summary

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

Keycloak versions before 19.0.2 are affected by a stored cross-site scripting flaw in the default roles functionality. A privileged attacker can inject malicious scripts that execute in the admin console, which can affect administrators using it. Upgrade to Keycloak 19.0.2 or later.

Written 3 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

ScoreRatingCVSSVectorSource
5.4 Medium 3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N GitHub Advisory Database
  • CISA KEV Not listed.
  • EPSS 0.0070, the 53rd percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:20 UTC First seen by agentprime
  2. 31 Oct 2026, 14:20 UTC Confirmed by OSV

Sources

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.