Skip to content
Noroxi
NVD / CVE Program· CNA mitre

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

MediumCVSS 6.1 · v3.1—No exploit Fix available

Noroxi assessment

Priority: Monitor (action score 25/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% (FIRST EPSS); higher than 81.7% of all records.
  • Anyone who can reach it over the internet can trigger it. No account or password is required. A user must open a link or visit a page. No special conditions are required; it is repeatable.
  • Fixed version: github.com/grafana/grafana (Go) 7.1.0-beta1; grafana (Red Hat:enterprise_linux:8::appstream) 0:7.3.6-2.el8; grafana-debuginfo (Red Hat:enterprise_linux:8::appstream) 0:7.3.6-2.el8.

Low priority for now. Upgrade to github.com/grafana/grafana (Go) 7.1.0-beta1; grafana (Red Hat:enterprise_linux:8::appstream) 0:7.3.6-2.el8; grafana-debuginfo (Red Hat:enterprise_linux:8::appstream) 0:7.3.6-2.el8 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

Published
Oct 28, 2020
Updated
Jun 16, 2026
EPSS
2.0% · 81th percentile

Report tools

JSON

Action score

25

Monitor

Low priority for now.

CVSS
24 / 40 · 6.1 / 10
CISA KEV
0 / 30 · Not listed
EPSS
1 / 30 · 2.0%

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-2020-24303

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 every 10 minutes on paid plans, on the hour on the free plan.

Limit the impact of XSSCheck security headers

Your free account also gets you

  • CVE 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, at most 30 a day (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.

Limit the impact of XSSCheck security headers

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

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.

  • grafana grafanaup to 7.0.5 inclusive

Package-level exposure

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

EcosystemPackageAffected rangeFix
Gogithub.com/grafana/grafanafrom 0—
Gogithub.com/grafana/grafanabefore 7.1.0-beta17.1.0-beta1
Red Hat:enterprise_linux:8::appstreamgrafanabefore 0:7.3.6-2.el80:7.3.6-2.el8
Red Hat:enterprise_linux:8::appstreamgrafana-debuginfobefore 0:7.3.6-2.el80:7.3.6-2.el8
Rocky Linux:8grafanabefore 0:7.3.6-2.el80:7.3.6-2.el8
SUSE:Enterprise Storage 6grafanabefore 7.3.1-3.6.17.3.1-3.6.1
SUSE:Manager Client Tools 15system-user-grafanabefore 1.0.0-3.9.11.0.0-3.9.1
SUSE:OpenStack Cloud 7crowbar-openstackbefore 4.0+git.1604938545.30c10db18-9.77.14.0+git.1604938545.30c10db18-9.77.1
SUSE:OpenStack Cloud 7grafanabefore 6.7.4-1.20.16.7.4-1.20.1
SUSE:OpenStack Cloud 7influxdbbefore 1.2.4-5.11.2.4-5.1
SUSE:OpenStack Cloud 7python-urllib3before 1.16-3.12.11.16-3.12.1
SUSE:OpenStack Cloud 9ardana-cassandrabefore 9.0+git.1600802664.7e480a2-3.6.29.0+git.1600802664.7e480a2-3.6.2
SUSE:OpenStack Cloud 9ardana-mqbefore 9.0+git.1605174486.a78ddce-3.19.29.0+git.1605174486.a78ddce-3.19.2
SUSE:OpenStack Cloud 9ardana-neutronbefore 9.0+git.1615223676.777f0b3-3.25.29.0+git.1615223676.777f0b3-3.25.2
SUSE:OpenStack Cloud 9ardana-osconfigbefore 9.0+git.1601621747.a87e5a0-3.22.29.0+git.1601621747.a87e5a0-3.22.2
SUSE:OpenStack Cloud 9ardana-swiftbefore 9.0+git.1618235096.90974ed-3.10.29.0+git.1618235096.90974ed-3.10.2
SUSE:OpenStack Cloud 9ardana-tempestbefore 9.0+git.1603378983.fc0bca9-3.19.29.0+git.1603378983.fc0bca9-3.19.2
SUSE:OpenStack Cloud 9cassandrabefore 3.11.10-3.3.33.11.10-3.3.3
SUSE:OpenStack Cloud 9grafanabefore 6.7.4-3.20.16.7.4-3.20.1
SUSE:OpenStack Cloud 9grafanabefore 6.7.4-3.23.26.7.4-3.23.2
SUSE:OpenStack Cloud 9influxdbbefore 1.3.8-4.3.31.3.8-4.3.3
SUSE:OpenStack Cloud 9kibanabefore 4.6.6-4.9.24.6.6-4.9.2
SUSE:OpenStack Cloud 9openstack-cinderbefore 13.0.10~dev20-3.28.213.0.10~dev20-3.28.2
SUSE:OpenStack Cloud 9openstack-dashboardbefore 14.1.1~dev11-3.24.614.1.1~dev11-3.24.6

+63

Other highest-scoring records for the same primary product.

Published before and after this one in the same product

  • ← EarlierCVE-2020-11110Jul 27, 2020 · Grafana through 6.7.1 allows stored XSS due to insufficient input protection in the originalUrl field, which allows an attacker to inject…
    24Monitor
  • ← EarlierCVE-2019-19499Aug 28, 2020 · Grafana <= 6.4.3 has an Arbitrary File Read vulnerability, which could be exploited by an authenticated attacker that has privileges to…
    27Monitor
  • Later →CVE-2020-27846Dec 21, 2020 · A signature verification vulnerability exists in crewjam/saml.
    40Plan

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
Go:github.com/grafana/grafana7.1.0-beta1Package registry (OSV)
red hat:grafana0:7.3.6-2.el8 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:grafana-debuginfo0:7.3.6-2.el8 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
rocky linux:grafana0:7.3.6-2.el8 · Rocky Linux:8Package registry (OSV)
suse:ardana-cassandra9.0+git.1600802664.7e480a2-3.6.2 · SUSE:OpenStack Cloud 9Package registry (OSV)
suse:ardana-mq9.0+git.1605174486.a78ddce-3.19.2 · SUSE:OpenStack Cloud 9Package registry (OSV)
suse:ardana-osconfig9.0+git.1601621747.a87e5a0-3.22.2 · SUSE:OpenStack Cloud 9Package registry (OSV)
suse:ardana-tempest9.0+git.1603378983.fc0bca9-3.19.2 · SUSE:OpenStack Cloud 9Package registry (OSV)
suse:crowbar-openstack4.0+git.1604938545.30c10db18-9.77.1 · SUSE:OpenStack Cloud 7Package registry (OSV)
suse:grafana6.7.4-1.20.1 · SUSE:OpenStack Cloud 7Package registry (OSV)
suse:influxdb1.2.4-5.1 · SUSE:OpenStack Cloud 7Package registry (OSV)
suse:openstack-cinder13.0.10~dev20-3.28.2 · SUSE:OpenStack Cloud 9Package registry (OSV)
suse:openstack-heat11.0.4~dev4-3.19.2 · SUSE:OpenStack Cloud 9Package registry (OSV)
suse:openstack-heat-gbp12.0.1~dev2-3.3.4 · SUSE:OpenStack Cloud 9Package registry (OSV)
suse:openstack-heat-templates0.0.0+git.1605509190.64f020b6-3.9.3 · SUSE:OpenStack Cloud 9Package registry (OSV)
suse:python-urllib31.16-3.12.1 · SUSE:OpenStack Cloud 7Package 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.

Patch and commit links

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

Not on record for this CVE: EPSS history · researcher credit · variant or chain candidate.

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • 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
None
User interaction
Required
Scope
Changed
Confidentiality impact
Low
Integrity impact
Low
Availability impact
None

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/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;

References

Show all references (2 more)

Vendor advisories and official records. Exploit/PoC links are deliberately left out.

All records