ADVISORIES

Vulnerability

CVE-2022-21702

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.

21 advisories report this vulnerability, across 10 ecosystems.

Advisories

  • ALPINE-CVE-2022-21702

    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…

    CVE-2022-21702 Alpine Updated 20 November 2026
  • ALPINE-EDGE-CVE-2022-21702
    CVE-2022-21702 Alpine Updated 18 November 2026
  • ALSA-2022:7519

    Moderate: grafana security, bug fix, and enhancement update

    CVE-2021-23648CVE-2022-1705CVE-2022-1962CVE-2022-21673 AlmaLinux Updated 29 October 2026
  • ALSA-2022:8057

    Important: grafana security, bug fix, and enhancement update

    CVE-2021-23648CVE-2022-1705CVE-2022-1962CVE-2022-21673 AlmaLinux Updated 29 October 2026
  • ELSA-2022-7519

    ELSA-2022-7519: grafana security, bug fix, and enhancement update (MODERATE)

    Moderate CVE-2021-23648CVE-2022-1705CVE-2022-1962CVE-2022-21673 Oracle Linux Updated 15 November 2022
  • ELSA-2022-8057

    ELSA-2022-8057: grafana security, bug fix, and enhancement update (IMPORTANT)

    Important CVE-2021-23648CVE-2022-1705CVE-2022-1962CVE-2022-21673 Oracle Linux Updated 22 November 2022
  • GHSA-xc3p-28hw-q24g

    Grafana proxy Cross-site Scripting

    Moderate CVE-2022-21702 Go Updated 14 May 2024
  • OESA-2022-1599

    grafana security update

    Medium CVE-2022-21702 openEuler Updated 18 August 2026
  • OESA-2022-2077

    grafana security update

    Medium CVE-2022-21702 openEuler Updated 18 August 2026
  • RHSA-2022:7519

    Red Hat Security Advisory: grafana security, bug fix, and enhancement update

    CVE-2021-23648CVE-2022-1705CVE-2022-1962CVE-2022-21673 Red Hat Updated 23 November 2026
  • RHSA-2022:8057

    Red Hat Security Advisory: grafana security, bug fix, and enhancement update

    CVE-2021-23648CVE-2022-1705CVE-2022-1962CVE-2022-21673 Red Hat Updated 23 November 2026
  • RLSA-2022:7519

    Moderate: grafana security, bug fix, and enhancement update

    CVE-2021-23648CVE-2022-1705CVE-2022-1962CVE-2022-21673 Rocky Linux Updated 5 February 2026
  • RLSA-2022:8057

    Important: grafana security, bug fix, and enhancement update

    CVE-2021-23648CVE-2022-1705CVE-2022-1962CVE-2022-21673 Rocky Linux Updated 5 February 2026
  • SUSE-FU-2022:1419-1

    Feature update for grafana

    Known exploited CVE-2021-36222CVE-2021-3711CVE-2021-39226CVE-2021-41174 openSUSE Updated 4 February 2026
  • SUSE-SU-2022:1396-1

    Security update for SUSE Manager Client Tools

    Known exploited CVE-2021-36222CVE-2021-3711CVE-2021-39226CVE-2021-41174 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2022:2134-1

    Security update for SUSE Manager Client Tools

    Known exploited CVE-2021-36222CVE-2021-3711CVE-2021-39226CVE-2021-41174 SUSE Updated 4 February 2026
  • SUSE-SU-2022:3676-1

    Security update for grafana

    Known exploited CVE-2021-36222CVE-2021-3711CVE-2021-41174CVE-2021-41244 SUSE Updated 4 February 2026
  • SUSE-SU-2022:3765-1

    Security update for grafana

    CVE-2022-21702CVE-2022-21703CVE-2022-21713CVE-2022-31097 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2024:0191-1

    Security Beta update for SUSE Manager Client Tools

    Known exploited CVE-2020-7753CVE-2021-36222CVE-2021-3711CVE-2021-3807 SUSE Updated 4 February 2026
  • UBUNTU-CVE-2022-21702

    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…

    CVE-2022-21702 Ubuntu Updated 24 October 2025
  • openSUSE-SU-2024:11836-1

    grafana-8.3.5-1.1 on GA media

    CVE-2022-21702CVE-2022-21703CVE-2022-21713 openSUSE Updated 4 February 2026

References