---
title: "CVE-2022-21702\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2022-21702?format=md
keywords: index, follow
---

# CVE-2022-21702

Publication date 8 February 2022

Last updated 26 August 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**6.5 · Medium**

[Score breakdown](https://ubuntu.com/security/CVE-2022-21702?format=md#impact-score)

Toggle side navigation

## 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.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| grafana | 26.04 LTS resolute | Not in release |
| 25.10 questing | Not in release |
| 25.04 plucky | Not in release |
| 24.10 oracular | Not in release |
| 24.04 LTS noble | Not in release |
| 23.10 mantic | Not in release |
| 22.04 LTS jammy | Not in release |
| 20.04 LTS focal | Not in release |
| 16.04 LTS xenial | Needs evaluation |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

6.5 · Medium

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | High |
  | Privileges required | Low |
  | User interaction | Required |
  | Scope | Changed |
  | Confidentiality impact | High |
  | Integrity impact | Low |
  | Availability impact | None |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 6.5 · Medium |
  | Exploitability score | - |
  | Impact score | - |

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

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-21702)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2022-21702)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2022-21702)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2022-21702)

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2022-21702>
