Cross-site Scripting (XSS) Affecting org.keycloak:keycloak-server-spi-private package, versions [,3.1.0.CR1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.17% (56th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Cross-site Scripting (XSS) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGKEYCLOAK-31563
  • published5 Nov 2017
  • disclosed9 Apr 2017
  • creditMykhailo Stadnyk

Introduced: 9 Apr 2017

CVE-2017-12158  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade org.keycloak:keycloak-server-spi-private to version 3.1.0.CR1 or higher.

Overview

org.keycloak:keycloak-server-spi-private is an open Source Identity and Access Management for modern Applications and Services.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) attacks. It was found that Keycloak would accept a HOST header URL in the admin console and use it to determine web resource locations. An attacker could use this flaw against an authenticated user to attain reflected XSS via a malicious server.

Details

<>

CVSS Scores

version 3.1