← Back
CVE-2020-24303
Grafana XSS via a query alias for the ElasticSearch datasource
Summary
Grafana XSS via a query alias for the ElasticSearch datasource
AI summary snake-internal / snake-template-v1
A weakness called CVE-2020-24303 was discovered in Grafana XSS via a query alias.
In plain terms, it is a flaw that lets attackers sneak nasty scripts into a webpage.
Severity is Info. Low severity or not yet rated.
What you should do: update the affected software to the latest version. If unsure, ask your IT team or search the vendor's site for "Grafana XSS via a query alias CVE-2020-24303".
CVE-2020-24303 (Grafana XSS via a query alias). Severity: Info. Category: CWE-79.
Response plan:
1. Check the vendor advisory for affected versions and the patched release.
2. If a vulnerable version is running in production, schedule maintenance (urgency from KEV/CVSS).
3. If no patch yet, mitigate via WAF rule, disabling the affected feature, etc.
4. Monitor logs / SIEM for known IOC and PoC signatures of this CVE.
PoCs and fix commits: see the 'References' section, MITRE, and NVD.
❓ What is the problem
A weakness (CVE-2020-24303) in Grafana XSS via a query alias. In plain words, it is a flaw that lets attackers sneak nasty scripts into a webpage.
📍 Affected scope
Target versions of Grafana XSS via a query alias (see vendor advisory). If running in production, identify exposure immediately.
🔥 Severity
Severity: Info. Low severity or not yet rated.
🔧 How to fix
Update to the patched release as listed in the vendor advisory. (Typical mitigation pattern for CWE-79)
🛡️ Workaround
If a patch is not yet available, consider disabling the affected feature, applying WAF rules, blocking via network ACLs, or isolating the vulnerable version.
🔍 Detection
Check version information, scan dependencies via SBOM, and monitor SIEM for IOC and PoC signatures related to this CVE.
Affected packages
Go
github.com/grafana/grafana
[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"7.1.0-beta1"}]}]
References
- advisory https://github.com/advisories/GHSA-mvpr-q6rh-8vrp
- advisory https://nvd.nist.gov/vuln/detail/CVE-2020-24303
- package https://github.com/grafana/grafana
- web https://github.com/grafana/grafana/pull/25401
- web https://github.com/grafana/grafana/blob/master/CHANGELOG.md#710-beta-1-2020-07-01
- web https://security.netapp.com/advisory/ntap-20201123-0002