CVE-2022-21702

Aliases:GHSA-xc3p-28hw-q24gBIT-grafana-2022-21702
Modified
Published: 08 Feb 2022, 19:40
Last modified:22 Apr 2025, 18:22

Vulnerability Summary

Overall Risk (default)
medium
36/100
CVSS Score
6.5 MEDIUM
v3.1 (cve.org)
EPSS Score
1.01% LOW
1% probability -0.24%
KEV
Not listed
Ransomware
No reports
Public exploits
1 found
Dark Web
Not detected

Timeline

08 Feb 2022, 19:40
Published
Vulnerability first disclosed
22 Apr 2025, 18:22
Last Modified
Vulnerability information updated

Description

Grafana is an open-source platform for monitoring and observability. In affected versions an attacker could serve HTML content thru the Grafana datasource 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. The attacker could either compromise an existing datasource for a specific Grafana instance or either set up its own public service and instruct anyone to set it up in their Grafana instance. To be impacted, all of the following must be applicable. For the data source proxy: A Grafana HTTP-based datasource configured with Server as Access Mode and a URL set, the attacker has to be in control of the HTTP server serving the URL of above datasource, and a specially crafted link pointing at the attacker controlled data source must be clicked on by an authenticated user. For the plugin proxy: A Grafana HTTP-based app plugin configured and enabled with a URL set, the attacker has to be in control of the HTTP server serving the URL of above app, and a specially crafted link pointing at the attacker controlled plugin must be clocked on by an authenticated user. For the backend plugin resource: An attacker must be able to navigate an authenticated user to a compromised plugin through a crafted link. Users are advised to update to a patched version. There are no known workarounds for this vulnerability.

CVSS Metrics

  • v3.1MEDIUMScore: 6.5CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:N
  • v3.1MEDIUMScore: 5.4CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
  • v3.1MEDIUMScore: 6.8CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N
  • v2.0LOWScore: 2.1AV:N/AC:H/Au:S/C:N/I:P/A:N

EPSS Trends

Current EPSS score: 1.01% Percentile: 77%

Techniques & Countermeasures

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

    The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Affected Systems

  • fedoraprojectfedora

    34 | 35 | 36

  • github.com/grafanagrafana

    ≥ 2.0.0-beta1, < 7.5.15 | ≥ 8.0.0, < 8.3.5

  • grafanagrafana

    ≥ 2.0.0-beta1, < 7.5.15 | ≥ 2.0.1, < 7.5.15 | ≥ 8.0.0, < 8.3.5 | 2.0.0:beta1 | 2.0.0:beta3

  • netappe-series_performance_analyzer

    < 3.0

References (14)