---
id: CVE-2020-13430
aliases:
  - GHSA-7m2x-qhrq-rp8h
  - BIT-grafana-2020-13430
  - GO-2024-2515
title: Grafana XSS via the OpenTSDB datasource
summary: Grafana XSS via the OpenTSDB datasource
severity: medium
cvss: 6.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'
vendor: grafana
product: github.com/grafana/grafana
ecosystem: go
affected:
  - github.com/grafana/grafana < 7.0.0
patched:
  - github.com/grafana/grafana 7.0.0
published: '2022-05-24'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T03:49:38.196956098Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-7m2x-qhrq-rp8h'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2020-13430'
  - url: 'https://github.com/grafana/grafana/pull/24539'
  - url: 'https://github.com/advisories/GHSA-7m2x-qhrq-rp8h'
  - url: 'https://github.com/grafana/grafana'
  - url: 'https://github.com/grafana/grafana/releases/tag/v7.0.0'
  - url: 'https://security.netapp.com/advisory/ntap-20200528-0003'
tags:
  - osv
  - go
epss: 0.01835
epssPercentile: 0.78019
ingestedAt: '2026-09-12T03:13:01.764Z'
---

## Overview

Grafana before 7.0.0 allows tag value XSS via the OpenTSDB datasource.

## Affected packages

- `github.com/grafana/grafana < 7.0.0`

## Remediation

Upgrade to a patched release:

- `github.com/grafana/grafana 7.0.0`
