CVE-2022-2256: Keycloak vulnerable to Stored Cross site Scripting (XSS) when loading default roles

CVE-2022-2256 · Severity: low · CVSS 3.1 · Published 2022-09-23

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

Technologies: org.keycloak:keycloak-parent (Maven). Vendors: Maven.

Quick answers

Is CVE-2022-2256 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2022-2256 being exploited in the wild.
How severe is CVE-2022-2256?
Low severity, with a CVSS score of 3.1, published 23 September 2022.
Which products and versions are affected?
org.keycloak:keycloak-parent (Maven) ECOSYSTEM:introduced=0,fixed=19.0.2.
Is there a fix for CVE-2022-2256?
Yes. org.keycloak:keycloak-parent (Maven): upgrade to 19.0.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2022-2256?
Check whether you run org.keycloak:keycloak-parent (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • org.keycloak:keycloak-parent (Maven): upgrade to 19.0.2 or later
    # set org.keycloak:keycloak-parent to 19.0.2 in your pom.xml or build.gradle

Affected products

  • org.keycloak:keycloak-parent (Maven) ECOSYSTEM:introduced=0,fixed=19.0.2

Identifiers

  • CVE-2022-2256
  • GHSA-w9mf-83w3-fv49

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.