CVEBrief

Home / grafana / grafana / CVE-2022-21702

CVE-2022-21702: is it exploited, and which versions of grafana are affected and fixed?

CVE-2022-21702 is a cross-site scripting (XSS) vulnerability in grafana. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 13:08 UTC). Affected: github.com/grafana/grafana from 2.0.0-beta1 before 7.5.15 and github.com/grafana/grafana from 8.0.0 before 8.3.5 (GitHub advisory GHSA-xc3p-28hw-q24g). Fixed in 7.5.15 and 8.3.5 (GitHub advisory GHSA-xc3p-28hw-q24g). Severity: Medium (6.5, CVSS 3.1, from GitHub_M).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:08 UTC, CVE record November 19, 2026, 07:14 UTC and NVD November 19, 2026, 07:51 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 13:08 UTC
Affected
github.com/grafana/grafana from 2.0.0-beta1 before 7.5.15 and github.com/grafana/grafana from 8.0.0 before 8.3.5
GitHub advisory GHSA-xc3p-28hw-q24g
Fixed in
7.5.15 and 8.3.5
GitHub advisory GHSA-xc3p-28hw-q24g
Severity
Medium 6.5
CVSS 3.1 from GitHub_M
Exploit odds (EPSS)
2.38% in 30 days
higher than 84% of CVEs; FIRST, December 2, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2022-21702?

Cross site scripting in Grafana proxy

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.

From the CVE record by GitHub_M, last updated April 22, 2025, 18:22 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
grafanagrafana>= 2.0.0-beta1, < 7.5.15
>= 8.0.0, < 8.3.5

As the CVE record by GitHub_M states it, last updated April 22, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which packages are affected, and in which version is each fixed?

EcosystemPackageAffectedFixed inAdvisory
Gogithub.com/grafana/grafana>= 2.0.0-beta1, < 7.5.157.5.15GHSA-xc3p-28hw-q24g
Gogithub.com/grafana/grafana>= 8.0.0, < 8.3.58.3.5GHSA-xc3p-28hw-q24g

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated May 14, 2024. Summary: Grafana proxy Cross-site Scripting.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
grafanagrafanafrom 2.0.1 before 7.5.15application
grafanagrafanafrom 8.0.0 before 8.3.5application
grafanagrafana2.0.0application
netappe-series performance analyzerbefore 3.0application
fedoraprojectfedora34operating system
fedoraprojectfedora35operating system
fedoraprojectfedora36operating system

NVD analysis (status Modified), last modified June 17, 2026, 04:26 UTC.

How severe is CVE-2022-21702?

ScoreVersionVectorSource
Medium 6.5CVSS 3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:NGitHub_M
Medium 5.4CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:NNVD
Low 2.1CVSS 2.0AV:N/AC:H/Au:S/C:N/I:P/A:NNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2022-21702 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, April 22, 2025)
EPSS
2.38% probability of exploitation activity in the next 30 days, percentile 84.4 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
November 16, 2021
Published
February 8, 2022, 19:40 UTC
CVE record updated
April 22, 2025, 18:22 UTC by GitHub_M
NVD
Modified, last modified June 17, 2026, 04:26 UTC
Last checked
CVE list November 19, 2026, 07:14 UTC; NVD November 19, 2026, 07:51 UTC; KEV December 3, 2026, 13:08 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

What other CVEs affect grafana?

Every CVE in grafana

Questions about CVE-2022-21702

Is CVE-2022-21702 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:08 UTC. FIRST's EPSS gives it a 2.38% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of grafana are affected by CVE-2022-21702?

github.com/grafana/grafana from 2.0.0-beta1 before 7.5.15 and github.com/grafana/grafana from 8.0.0 before 8.3.5, per the GitHub advisory GHSA-xc3p-28hw-q24g. The tables above give every range the sources list.

Which version fixes CVE-2022-21702?

7.5.15 and 8.3.5, per the GitHub advisory GHSA-xc3p-28hw-q24g. Check the vendor's advisory before you rely on it.

How severe is CVE-2022-21702?

Medium (6.5, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.

Where is the official record of CVE-2022-21702?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.