Security mailing lists by PureSourceCode

CVE-2022-21702

MEDIUM 5.4CVSS 3.1

Grafana proxy Cross-site Scripting

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.

Published
8 Feb 2022
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-79
Also known as
BIT-grafana-2022-21702GHSA-xc3p-28hw-q24g
Sources
NVDJSONOSV GHSA-xc3p-28hw-q24gJSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 3.1 MEDIUM 6.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 LOW 2.1 AV:N/AC:H/Au:S/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD grafana grafana
cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*
>= 2.0.1, < 7.5.15 7.5.15
NVD grafana grafana
cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*
>= 8.0.0, < 8.3.5 8.3.5
NVD grafana grafana
cpe:2.3:a:grafana:grafana:2.0.0:beta1:*:*:*:*:*:*
= 2.0.0
NVD grafana grafana
cpe:2.3:a:grafana:grafana:2.0.0:beta3:*:*:*:*:*:*
= 2.0.0
NVD netapp e-series_performance_analyzer
cpe:2.3:a:netapp:e-series_performance_analyzer:*:*:*:*:*:*:*:*
< 3.0 3.0
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
= 34
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
= 35
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
= 36
OSV Go github.com/grafana/grafana >= 2.0.0-beta1, < 7.5.15 7.5.15
OSV Go github.com/grafana/grafana >= 8.0.0, < 8.3.5 8.3.5

References

History

  • 25 Nov 2026 20:34 UTC · NVD: first stored (published 8 Feb 2022)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 14 May 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.