Home / Grafana / Grafana / CVE-2018-1000816
CVE-2018-1000816: is it exploited, and which versions of Grafana are affected and fixed?
CVE-2018-1000816 is a cross-site scripting (XSS) vulnerability in Grafana. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 21:09 UTC). Affected: github.com/grafana/grafana before 5.3.2 (GitHub advisory GHSA-x5fh-fvvr-892f). Fixed in 5.3.2 (GitHub advisory GHSA-x5fh-fvvr-892f). Severity: Medium (5.4, CVSS 3.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 21:09 UTC, CVE record November 19, 2026, 07:17 UTC and NVD November 19, 2026, 08:26 UTC.
What is CVE-2018-1000816?
Grafana version confirmed for 5.2.4 and 5.3.0 contains a Cross Site Scripting (XSS) vulnerability in Influxdb and Graphite query editor that can result in Running arbitrary js code in victims browser.. This attack appear to be exploitable via Authenticated user must click on the input field where the payload was previously inserted..
From the CVE record by mitre, last updated September 17, 2024, 00:31 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Go | github.com/grafana/grafana | < 5.3.2 | 5.3.2 | GHSA-x5fh-fvvr-892f |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated October 6, 2023. Summary: Grafana XSS Vulnerability.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| grafana | grafana | 5.2.4 | application |
| grafana | grafana | 5.3.0 | application |
NVD analysis (status Modified), last modified June 17, 2026, 01:33 UTC.
How severe is CVE-2018-1000816?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.4 | CVSS 3.0 | CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N | NVD |
| Low 3.5 | CVSS 2.0 | AV:N/AC:M/Au:S/C:N/I:P/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2018-1000816 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.74% probability of exploitation activity in the next 30 days, percentile 56.1 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
Where are the vendor advisories and references?
- https://github.com/grafana/grafana/issues/13667 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- December 20, 2018
- Published
- December 20, 2018, 15:00 UTC
- CVE record updated
- September 17, 2024, 00:31 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 01:33 UTC
- Last checked
- CVE list November 19, 2026, 07:17 UTC; NVD November 19, 2026, 08:26 UTC; KEV December 3, 2026, 21:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Grafana?
- Dec 7, 2021CVE-2021-43798 grafana: path traversal (reading or writing files outside the intended folder) exploited
- Oct 5, 2021CVE-2021-39226 grafana: authentication bypass (improper authentication) exploited
- Mar 27, 2026CVE-2026-27879 Grafana: denial of service (uncontrolled resource consumption)
- Mar 27, 2026CVE-2026-28375 Grafana: denial of service (uncontrolled resource consumption)
- Mar 27, 2026CVE-2026-27876 Grafana: code injection (remote code execution)
- Mar 27, 2026CVE-2026-27880 Grafana: out-of-bounds read
- Mar 27, 2026CVE-2026-27877 Grafana: sensitive data stored in clear text
- Feb 25, 2026CVE-2026-21725 Grafana: time-of-check time-of-use race condition
Questions about CVE-2018-1000816
Is CVE-2018-1000816 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 21:09 UTC. FIRST's EPSS gives it a 0.74% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Grafana are affected by CVE-2018-1000816?
github.com/grafana/grafana before 5.3.2, per the GitHub advisory GHSA-x5fh-fvvr-892f. The tables above give every range the sources list.
Which version fixes CVE-2018-1000816?
5.3.2, per the GitHub advisory GHSA-x5fh-fvvr-892f. Check the vendor's advisory before you rely on it.
How severe is CVE-2018-1000816?
Medium (5.4, CVSS 3.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2018-1000816?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.