CVE-2020-24303: XSS

Published Jun 8, 2020
·
Updated

A flaw was found in grafana. A XSS via a query alias for the ElasticSearch datasource is allowed.

Other sources

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

Affected Software

4 affected componentsFixes available
redhat/grafana<0:7.3.6-2.el8
0:7.3.6-2.el8
redhat/grafana<7.1.0
7.1.0
go/github.com/grafana/grafana<7.1.0-beta1
7.1.0-beta1
Grafana Grafana<=7.0.5

Event History

Jun 8, 2020
CVE Published
12:00 AM
Oct 28, 2020
CVE Published
via MITRE·01:25 PM
Data Sourced
via MITRE·01:25 PM
Description
May 24, 2022
Advisory Published
via GitHub·05:32 PM

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is CVE-2020-24303?

CVE-2020-24303 is a vulnerability in Grafana that allows for XSS (Cross-Site Scripting) attacks via a query alias for the ElasticSearch datasource.

2

How severe is CVE-2020-24303?

CVE-2020-24303 has a severity rating of 6.1 (medium).

3

How can Grafana versions before 7.1.0-beta 1 be affected by CVE-2020-24303?

Grafana versions before 7.1.0-beta 1 are affected by CVE-2020-24303 if they allow query aliases for the ElasticSearch datasource.

4

How can I fix CVE-2020-24303?

To fix CVE-2020-24303, ensure that you are using Grafana version 7.1.0-beta 1 or higher.

5

Where can I find more information about CVE-2020-24303?

You can find more information about CVE-2020-24303 at the following links: [CVE-2020-24303](https://www.cve.org/CVERecord?id=CVE-2020-24303), [NVD](https://nvd.nist.gov/vuln/detail/CVE-2020-24303), [GitHub Issue](https://github.com/grafana/grafana/pull/25401), [Red Hat Bugzilla](https://bugzilla.redhat.com/show_bug.cgi?id=1892418), [Red Hat Advisory](https://access.redhat.com/errata/RHSA-2021:1859).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203