Skip to content
Noroxi
CVE-2022-21702· NVD / CVE Program· CNA GitHub_M

Cross site scripting in Grafana proxy

Noroxi assessment

Priority: Monitor (action score 22/100)

  • The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
  • Probability of exploitation in the next 30 days: 2.3% (FIRST EPSS); higher than 83.3% of all records.
  • Anyone who can reach it over the internet can trigger it. A low-privileged account is enough. A user must open a link or visit a page. No special conditions are required; it is repeatable.
  • Fixed version: grafana (AlmaLinux:8) 7.5.15-3.el8; grafana (AlmaLinux:9) 7.5.15-3.el9; github.com/grafana/grafana (Go) 7.5.15, 8.3.5.
  • Mentioned 1 time in Turkish national cyber security advisories (siberguvenlik.gov.tr).

Low priority for now. Upgrade to grafana (AlmaLinux:8) 7.5.15-3.el8; grafana (AlmaLinux:9) 7.5.15-3.el9; github.com/grafana/grafana (Go) 7.5.15, 8.3.5 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

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.

MediumCVSS 5.4 · v3.1—No exploit Fix available
Published
Feb 8, 2022
Updated
Jun 17, 2026
EPSS
2.3% · 83th percentile

Report tools

JSON

Action score

22

Monitor

Low priority for now.

CVSS
21 / 40 · 5.4 / 10
CISA KEV
0 / 30 · Not listed
EPSS
1 / 30 · 2.3%

CISA SSVC decision

Exploitation
proof of concept
Automatable
no
Technical impact
partial

Vulnrichment: CISA's decision-tree inputs.

CNA vs NVD score

NVD
5.4
CNA · GitHub_M
6.5
1.1 point gap

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

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • No public exploit code on record
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2022-21702

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits instantly.

Your free account also gets you

Running WordPress? Scan your site free with WP Lens

  • Stack alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

Running WordPress? Scan your site free with WP Lens

Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
grafanagrafana
netappe-series performance analyzer
fedoraprojectfedora

Limit the impact of XSS

This is a cross-site scripting (XSS) vulnerability. A well-configured Content-Security-Policy doesn't fix it, but greatly reduces its impact. Check your site's CSP and other security headers for free.

Check security headers

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • fedoraproject fedora34
  • fedoraproject fedora35
  • fedoraproject fedora36
  • grafana grafana8.0.0 and later · before 8.3.5
  • grafana grafana2.0.1 and later · before 7.5.15
  • grafana grafana2.0.0
  • netapp e-series performance analyzerbefore 3.0

Versions reported by the vendor

Affected version ranges reported by the assigning authority (GitHub_M). Independent of NVD's CPE analysis and usually ahead of it.

  • grafana grafana

    • >= 2.0.0-beta1, < 7.5.15, >= 8.0.0, < 8.3.5affected

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
AlmaLinux:8grafanabefore 7.5.15-3.el87.5.15-3.el8
AlmaLinux:9grafanabefore 7.5.15-3.el97.5.15-3.el9
Gogithub.com/grafana/grafanafrom 2.0.0-beta1 · before 7.5.157.5.15
Gogithub.com/grafana/grafanafrom 8.0.0 · before 8.3.58.3.5
openSUSE:Leap 15.3grafanabefore 8.3.5-150200.3.21.18.3.5-150200.3.21.1
openSUSE:Tumbleweedgrafanabefore 8.3.5-1.18.3.5-1.1
Red Hat:enterprise_linux:8::appstreamgrafanabefore 0:7.5.15-3.el80:7.5.15-3.el8
Red Hat:enterprise_linux:8::appstreamgrafana-debuginfobefore 0:7.5.15-3.el80:7.5.15-3.el8
Red Hat:enterprise_linux:9::appstreamgrafanabefore 0:7.5.15-3.el90:7.5.15-3.el9
Red Hat:enterprise_linux:9::appstreamgrafana-debuginfobefore 0:7.5.15-3.el90:7.5.15-3.el9
Rocky Linux:8grafanabefore 0:7.5.15-3.el80:7.5.15-3.el8
Rocky Linux:9grafanabefore 0:7.5.15-3.el90:7.5.15-3.el9
SUSE:Enterprise Storage 6grafanabefore 8.5.13-150100.3.12.18.5.13-150100.3.12.1
SUSE:HPE Helion OpenStack 8golang-github-prometheus-node_exporterbefore 1.3.0-1.15.31.3.0-1.15.3
SUSE:Linux Enterprise Module for Package Hub 15 SP4grafanabefore 8.3.10-150200.3.26.18.3.10-150200.3.26.1
SUSE:Linux Enterprise Module for Package Hub 15 SP4grafanabefore 8.3.10-150200.3.26.18.3.10-150200.3.26.1
SUSE:Manager Client Tools 12golang-github-prometheus-alertmanagerbefore 0.23.0-1.12.30.23.0-1.12.3
SUSE:Manager Client Tools 12golang-github-QubitProducts-exporter_exporterbefore 0.4.0-1.6.10.4.0-1.6.1
SUSE:Manager Client Tools 12grafanabefore 8.3.5-1.30.38.3.5-1.30.3
SUSE:Manager Client Tools 12mgr-cfgbefore 4.3.6-1.27.44.3.6-1.27.4
SUSE:Manager Client Tools 12mgr-custom-infobefore 4.3.3-1.18.14.3.3-1.18.1
SUSE:Manager Client Tools 12mgr-daemonbefore 4.3.4-1.32.34.3.4-1.32.3
SUSE:Manager Client Tools 12mgr-osadbefore 4.3.6-1.39.44.3.6-1.39.4
SUSE:Manager Client Tools 12mgr-pushbefore 4.3.4-1.21.44.3.4-1.21.4

+58

Other highest-scoring records for the same primary product.

Published before and after this one in the same product

  • ← EarlierCVE-2021-43815Dec 10, 2021 · Grafana directory traversal for `.cvs` files
    18Monitor
  • ← EarlierCVE-2022-21673Jan 18, 2022 · OAuth Identity Token exposure in Grafana
    18Monitor
  • Later →CVE-2022-21703Feb 8, 2022 · Cross Site Request Forgery in Grafana
    36Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
almalinux:grafana7.5.15-3.el8 · AlmaLinux:8Package registry (OSV)
Go:github.com/grafana/grafana7.5.15Package registry (OSV)
Go:github.com/grafana/grafana8.3.5Package registry (OSV)
opensuse:grafana8.3.5-150200.3.21.1 · openSUSE:Leap 15.3Package registry (OSV)
red hat:grafana0:7.5.15-3.el8 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:grafana-debuginfo0:7.5.15-3.el8 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
rocky linux:grafana0:7.5.15-3.el8 · Rocky Linux:8Package registry (OSV)
suse:grafana8.3.5-150000.1.30.1 · SUSE:Manager Client Tools 15Package registry (OSV)
suse:mgr-cfg4.2.8-150000.1.24.1 · SUSE:Manager Client Tools 15Package registry (OSV)
suse:mgr-osad4.2.8-150000.1.36.1 · SUSE:Manager Client Tools 15Package registry (OSV)
suse:mgr-push4.2.5-150000.1.18.2 · SUSE:Manager Client Tools 15Package registry (OSV)
suse:mgr-virtualization4.2.4-150000.1.26.1 · SUSE:Manager Client Tools 15Package registry (OSV)
suse:prometheus-postgres_exporter0.10.0-150000.1.3.1 · SUSE:Manager Client Tools 15Package registry (OSV)
suse:rhnlib4.2.6-150000.3.34.1 · SUSE:Manager Client Tools 15Package registry (OSV)
suse:spacecmd4.2.16-150000.3.77.1 · SUSE:Manager Client Tools 15Package registry (OSV)
suse:spacewalk-client-tools4.2.18-150000.3.59.1 · SUSE:Manager Client Tools 15Package registry (OSV)
suse:spacewalk-koan4.2.6-150000.3.27.1 · SUSE:Manager Client Tools 15Package registry (OSV)
suse:spacewalk-oscap4.2.4-150000.3.18.1 · SUSE:Manager Client Tools 15Package registry (OSV)
suse:suseRegisterInfo4.2.6-150000.3.21.1 · SUSE:Manager Client Tools 15Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

National notice (Türkiye Cybersecurity Directorate / USOM)

Official security notices citing this record; remediation advice is on the agency's page.

All national notices →

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • A low-privileged account is enough.
  • A user must open a link or visit a page.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
low · data can be read
Integrity
low · data or configuration can be modified
Availability
none

Impact can extend beyond the vulnerable component (scope changes).

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
Required
Scope
Changed
Confidentiality impact
Low
Integrity impact
Low
Availability impact
None

CVSS vector

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

nvd-primary

Root cause

User content is inserted into the page as HTML. The browser interprets the content as code rather than data.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

ts
commentEl.innerHTML = comment.body;

Fixed

ts
commentEl.textContent = comment.body;

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records