CVE-2022-21702 Grafana
| Affected software | Grafana |
|---|---|
| Severity | 6.5 Medium CVSS 3.1 3 scores |
| Weakness | Cross-site scripting (CWE-79) |
| Published | 8 Feb 2022 |
| Updated | 17 Jun 2026 |
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.
Exploitation status
Proof of concept only
A proof of concept exists, but no reviewed exploit catalogue lists this CVE.
Exploitation status
- CISA KEV not listed
- VulnCheck KEV not listed
- CISA Vulnrichment exploitation: poc CISA recorded that an exploit has been demonstrated. Automatable: no, technical impact: partial.
- Indexed PoC none indexed
- EPSS 2.3% chance in 30 days
Waratek protection
A Java vulnerability, but not one Waratek protects. It affects only Java on a user's desktop (applets, Web Start, JavaFX, the installer), sits in a product the Waratek agent can't be installed into, or is in a package we don't expect in business applications. The decision below says which.
- Protection none
- Action not pursued none
- Review automated Upstream data
- Record active
| Decided by | The only affected product being a sealed appliance image, where Java runs but no -javaagent can be attached |
|---|---|
| Finding | This CVE names only products the Waratek agent cannot be installed into (netapp/e-series_performance_analyzer). They ship as sealed appliance images or as native code with no application JVM, so there is no start-up line to add -javaagent to. The vulnerability may well be a Java one; it is permanently out of ARMR's reach rather than outside its subject. |
CVSS
6.5 MEDIUM
v3.1 CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:N
3 metrics
CVSS
6.5 MEDIUM v3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:N
3 metrics
We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.
| Version | Score | Band | Vector | Assigner | Type | |
|---|---|---|---|---|---|---|
| CVSS 3.1 | 6.5 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:N |
security-advisories@github.com | Secondary | published |
| CVSS 3.1 | 5.4 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
NVD | Primary | |
| CVSS 2.0 | 2.1 | none | AV:N/AC:H/Au:S/C:N/I:P/A:N |
NVD | Primary |
Affected software and releases
Products and versions
3 products, 8 version entries| Source | Vendor | Product | Scheme | Affected versions |
|---|---|---|---|---|
| nvd | fedoraproject | fedora | generic | 34 · 35 · 36 |
| nvd | grafana | grafana | generic | 2.0.0:beta1 · 2.0.0:beta3 · ≥ 2.0.1 and < 7.5.15 · ≥ 8.0.0 and < 8.3.5 |
| nvd | netapp | e-series performance analyzer | generic | < 3.0 |
References
Timeline
Timeline
| Published | 2022-02-08 | By the CVE Program. |
|---|---|---|
| NVD record modified | 2026-06-17 | NVD's own last-modified date for this record. |