CVE-2018-18623 json
Grafana XSS in Dashboard Text Panel
published 6y ago modified 4mo ago also GHSA-cmq2-j8v8-2q44 , GO-2022-0342 , EUVD-2024-0336
- cvss
- 6.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.8%
- EPSS 1.8% chance of exploitation in 30 days, percentile 78%
- public exploits
- 0
- none known
Summary
Grafana 5.3.1 has XSS via the "Dashboard > Text Panel" screen. NOTE: this issue exists because of an incomplete fix for CVE-2018-12099.
Patch / fix
- go github.com/grafana/grafana 6.0.0-beta1, 6.0.0-beta1+incompatible
- grafana ceph storage 3 5.2.4-1.el7cp
red hat advisories RHSA-2019:0019
- kibana OpenStack Cloud Crowbar 9, OpenStack Cloud 9 4.6.6-4.9.2
- grafana OpenStack Cloud Crowbar 9, OpenStack Cloud 9 6.7.4-3.23.2
- cassandra OpenStack Cloud Crowbar 9, OpenStack Cloud 9 3.11.10-3.3.3
- python-py OpenStack Cloud Crowbar 9, OpenStack Cloud 9 1.5.4-3.3.2
- ardana-swift OpenStack Cloud 9 9.0+git.1618235096.90974ed-3.10.2
- ardana-neutron OpenStack Cloud 9 9.0+git.1615223676.777f0b3-3.25.2
- openstack-nova OpenStack Cloud Crowbar 9, OpenStack Cloud 9 18.3.1~dev82-3.37.6
- python-Django1 OpenStack Cloud Crowbar 9, OpenStack Cloud 9 1.11.29-3.25.1
suse advisories SUSE-SU-2021:1962-1SUSE-SU-2021:1233-1SUSE-SU-2020:3309-1SUSE-SU-2020:2911-1SUSE-SU-2020:2876-1
- github.com/grafana/grafana#11813 pull request
- github.com/grafana/grafana#14984 pull request
- github.com/grafana/grafana/releases/tag/v6.0.0 release
Is CVE-2018-18623 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-18623 updated cvss 6.1
grafana: XSS vulnerability via the "Dashboard > Text Panel" screen
-
Red Hat Ceph Storage 2 grafanaaffected: no fix planned “Out of support scope”
-
Red Hat OpenShift Container Platform 3.11 openshift3/grafanaaffected: no fix available “Fix deferred”
-
Red Hat Storage 3 grafanaaffected: no fix planned “Will not fix”
-
Red Hat Ceph Storage 3.2 Tools grafana 5.2.4-1.el7cpfixed: vendor fix RHSA-2019:0019
-
Red Hat OpenShift Service Mesh 1 servicemesh-grafana, servicemesh-grafana-prometheus Red Hat Ceph Storage 4 rhceph/rhceph-4-dashboard-rhel8 Red Hat Enterprise Linux 8 grafana, grafana-loki, grafana-mssql, grafana-mysql, grafana-selinux, grafana-graphite, +8 more Red Hat OpenShift Container Platform 4 openshift4/ose-grafananot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.81% chance of exploitation in the next 30 days, higher than 78% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/grafana/grafana/pull/11813 referenced PoC, tagged "exploit" by a source, unverified
- github.com https://github.com/grafana/grafana/issues/15293 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/grafana/grafana | <6.0.0-beta1 <6.0.0-beta1+incompatible |
6.0.0-beta1 6.0.0-beta1+incompatible |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/grafana/grafana/pull/11813
web, exploit, third-party-advisory, patch
-
github.com
/grafana/grafana/pull/14984
web, patch
-
github.com
/grafana/grafana/issues/15293
web, exploit, third-party-advisory, report
-
security.netapp.com
/advisory/ntap-20200608-0008/
third-party-advisory
-
github.com
/grafana/grafana/releases/tag/v6.0.0
web, release-notes, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2018-18623
advisory
-
github.com
/grafana/grafana/issues/4117
web, report
-
security.netapp.com
/advisory/ntap-20200608-0008
web
-
github.com
/advisories/GHSA-cmq2-j8v8-2q44
advisory
Sources
- CVE List CVE-2018-18623
- GitHub Advisory GHSA-cmq2-j8v8-2q44
- NVD CVE-2018-18623
- OSV GO-2022-0342
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.