cve.bz

CVE-2018-18623 grafana grafana: Cross-site Scripting

6.1 mediumExploit referenceEPSS 1.8%Fix available

Medium (6.1) in grafana grafana. EPSS 1.8% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/grafana/grafana 6.0.0-beta1, 6.0.0-beta1+incompatible.

On this page
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.

Severity

CVSS 3.1

6.1 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS
1.8% (unchanged from 1.8% a week ago; 1.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 79th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-79 Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-18623 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-18623?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-18623?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-18623 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
grafana:grafana5.3.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-cmq2-j8v8-2q44Gogithub.com/grafana/grafana<6.0.0-beta16.0.0-beta1
GO-2022-0342Gogithub.com/grafana/grafana<6.0.0-beta1+incompatible6.0.0-beta1+incompatible

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu16.04:LTSgrafanano fix listedUBUNTU-CVE-2018-18623
Red Hatceph_storage:3::el7grafana0:5.2.4-1.el7cpRHSA-2019:0019
SUSEEnterprise Storage 6grafana7.3.1-3.6.1SUSE-SU-2021:1233-1
SUSEEnterprise Storage 6, Manager Client Tools 15system-user-grafana1.0.0-3.9.1SUSE-SU-2021:1233-1
SUSEHPE Helion OpenStack 8documentation-hpe-helion-openstack-user, documentation-hpe-helion-openstack-planning, documentation-hpe-helion-openstack-security and 3 more8.20201007-1.29.1SUSE-SU-2020:3309-1
SUSEHPE Helion OpenStack 8release-notes-hpe-helion-openstack8.20200922-3.23.1SUSE-SU-2020:3309-1
SUSEHPE Helion OpenStack 8venv-openstack-horizon-hpe12.0.5~dev3-14.32.1SUSE-SU-2020:3309-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8ardana-ansible8.0+git.1596735237.54109b1-3.77.1SUSE-SU-2020:3309-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8ardana-cinder8.0+git.1596129856.263f430-3.43.1SUSE-SU-2020:3309-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8ardana-glance8.0+git.1593631779.76fa9b7-3.24.1SUSE-SU-2020:3309-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8ardana-mq8.0+git.1593618123.678c32b-3.26.1SUSE-SU-2020:3309-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8ardana-nova8.0+git.1601298847.dd01585-3.42.1SUSE-SU-2020:3309-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8ardana-osconfig8.0+git.1595885113.93abcbc-3.49.1SUSE-SU-2020:3309-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8python-Flask-Cors3.0.3-3.3.1SUSE-SU-2020:3309-1
136 more for SUSE in the JSON and on SUSE's page.

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu · Red Hat · SUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

While OpenShift 3.11 grafana-container packages a vulnerable version of grafana, the dashboard is set to read-only meaning that the vulnerable component cannot be added or modified to contain the potential XSS. As the OpenShift version still packages vulnerable code, the impact is set Low.

ProductPackageStateAdvisory
Red Hat Ceph Storage 3.2grafana-0:5.2.4-1.el7cpFixed 2019-01-03RHSA-2019:0019
OpenShift Service Mesh 1servicemesh-grafanaNot affected
Red Hat Ceph Storage 2grafanaOut of support scope
Red Hat Ceph Storage 4rhceph/rhceph-4-dashboard-rhel8Not affected
Red Hat Enterprise Linux 8grafanaNot affected
Red Hat OpenShift Container Platform 3.11openshift3/grafanaFix deferred
Red Hat OpenShift Container Platform 4openshift4/ose-grafanaNot affected
Red Hat Storage 3grafanaWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-18623.

Attack patterns (CAPEC)

  • CAPEC-63 Cross-Site Scripting (XSS) Likelihood: High · Severity: Very High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-209 XSS Using MIME Type Mismatch Severity: Medium
  • CAPEC-588 DOM-Based XSS Likelihood: High · Severity: Very High
  • CAPEC-591 Reflected XSS Likelihood: High · Severity: Very High
  • CAPEC-592 Stored XSS Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON