# CVE-2018-1000816: Grafana XSS Vulnerability

- Severity: Medium 5.4 (CVSS:3.0, scored by NVD) `CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.74%, higher than 55% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2018-12-20T15:00:00.000Z
- Modified: 2026-06-17T01:33:06.417Z
- Also known as: GHSA-x5fh-fvvr-892f
- Weaknesses: CWE-79
- Assigned by: mitre

## Description

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..

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- github.com/grafana/grafana (Go): before 5.3.2
- grafana grafana: 5.2.4; 5.3.0

## Every score

- GitHub: CVSS:3.0 5.4 Medium `CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.0 5.4 Medium `CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:P/A:N`

## References

- <https://github.com/grafana/grafana/issues/13667> (exploit, issue-tracking, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2018-1000816> (advisory)
- <https://github.com/grafana/grafana/pull/13670> (web)
- <https://github.com/grafana/grafana/commit/eabb04cec21dc323347da1aab7fcbf2a6e9dd121> (web)
- <https://github.com/grafana/grafana> (package)

## Sources

- CVE List: [CVE-2018-1000816](https://www.cve.org/CVERecord?id=CVE-2018-1000816), CVE Terms of Use, modified 2024-09-17
- GitHub Advisory Database: [GHSA-x5fh-fvvr-892f](https://github.com/advisories/GHSA-x5fh-fvvr-892f), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2018-1000816](https://nvd.nist.gov/vuln/detail/CVE-2018-1000816), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2018-1000816 · Whole record: https://cve.day/CVE-2018-1000816.json · Rebuilt by cve.day 2026-11-25T22:57:41.322Z
