CVE-2020-10748: Cross-site Scripting in Keycloak

org.keycloak:keycloak-parent Updated 02 Oct 2025

Summary

09/02/2022
Yes i
Moderate
6.1

CVE-2020-10748: Cross-site Scripting in Keycloak. Affects org.keycloak:keycloak-parent versions < 10.0.2. Fixed in 10.0.2. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Keycloak is an open-source identity and access management solution that allows organizations to secure their applications and services. It provides features such as single sign-on, social login, and user federation. The vulnerability identified as CVE-2020-10748 affects Keycloak version 10.0.1. Keycloak's data filter allowed the processing of data URLs in certain circumstances, leading to a cross-site scripting vulnerability. This vulnerability could be exploited by an attacker to execute malicious scripts on a victim's browser, potentially leading to further attacks.

Vulnerability Detail

The vulnerability in Keycloak arises from a flaw in its data filter. This flaw allows the processing of data URLs, which can be leveraged by an attacker to inject and execute arbitrary scripts on a victim's browser. By enticing a user to visit a specially crafted webpage or click on a malicious link, an attacker can exploit this vulnerability to steal sensitive information, perform actions on behalf of the victim, or further compromise the system. The vulnerability has a CVSS score of 6.1, indicating a moderate severity level.

How To Fix

Minimum fixed version

10.0.2

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no specific workaround provided for this vulnerability. It is advised to apply the fix by upgrading Keycloak to the latest version.

Conclusion

In conclusion, CVE-2020-10748 is a cross-site scripting vulnerability in Keycloak version 10.0.1. It allows an attacker to execute arbitrary scripts on a victim's browser, potentially leading to further attacks. To mitigate this vulnerability, it is recommended to upgrade Keycloak to version 10.0.2 or later. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for org.keycloak:keycloak-parent →

Share this vulnerability

FAQ

Keycloak is an open-source identity and access management solution that provides features such as single sign-on, social login, and user federation.

The vulnerability allows an attacker to execute arbitrary scripts on a victim's browser, potentially leading to further attacks and unauthorized access to sensitive information.

To fix this vulnerability, it is recommended to upgrade Keycloak to version 10.0.2 or later.

There is no specific workaround provided for this vulnerability. It is advised to apply the fix by upgrading Keycloak to the latest version.

The vulnerability has a CVSS score of 6.1, indicating a moderate severity level.

Related vulnerabilities

Recent vulnerabilities recorded for org.keycloak:keycloak-parent.

How To Fix

Minimum fixed version

10.0.2

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback