CVE Database›Document archive›CVE-2022-21702

CVE-2022-21702

grafana: XSS vulnerability in data source handling

Loading…

Severity

Moderate

Red Hat Product Security

6.8

CVSS 3.1

Review impact separately from score.

Published · February 8, 2022

Updated · August 5, 2026

Description

A Cross-site scripting (XSS) vulnerability was found in the way Grafana handles data sources. This flaw allows an attacker to serve HTML content through the Grafana data source or plugin proxy and trick a user to visit this HTML page using a specially crafted link and execute a Cross-site scripting (XSS) attack. Should an existing data source connected to Grafana be compromised, it could be used to inappropriately gain access to other data sources connected to the same Grafana org.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

Please refer to the Grafana upstream advisory for possible workarounds for this issue.

CVSS / CWE

CVSS 3.1 · 6.8
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N

CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')