Skip to content
Noroxi
CVE-2018-18623· NVD / CVE Program· CNA mitre

Grafana 5.3.1 has XSS via the "Dashboard > Text Panel" screen.

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.

MediumCVSS 6.1 · v3.1—No exploit Fix available
Published
Jun 2, 2020
Updated
Jun 16, 2026
EPSS
1.8% · 77th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

25

Monitor

Low priority for now.

CVSS
24 / 40 · 6.1 / 10
CISA KEV
0 / 30 · Not listed
EPSS
1 / 30 · 1.8%

Affected systems

VendorProduct
grafanagrafana

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • grafana grafana5.3.1

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Gogithub.com/grafana/grafanabefore 6.0.0-beta1+incompatible6.0.0-beta1+incompatible
Gogithub.com/grafana/grafanabefore 6.0.0-beta16.0.0-beta1
Red Hat:ceph_storage:3::el7grafanabefore 0:5.2.4-1.el7cp0:5.2.4-1.el7cp
SUSE:Enterprise Storage 6grafanabefore 7.3.1-3.6.17.3.1-3.6.1
SUSE:HPE Helion OpenStack 8ansiblebefore 2.9.14-3.15.12.9.14-3.15.1
SUSE:HPE Helion OpenStack 8ardana-ansiblebefore 8.0+git.1596735237.54109b1-3.77.18.0+git.1596735237.54109b1-3.77.1
SUSE:HPE Helion OpenStack 8ardana-cinderbefore 8.0+git.1596129856.263f430-3.43.18.0+git.1596129856.263f430-3.43.1
SUSE:HPE Helion OpenStack 8ardana-glancebefore 8.0+git.1593631779.76fa9b7-3.24.18.0+git.1593631779.76fa9b7-3.24.1
SUSE:HPE Helion OpenStack 8ardana-mqbefore 8.0+git.1593618123.678c32b-3.26.18.0+git.1593618123.678c32b-3.26.1
SUSE:HPE Helion OpenStack 8ardana-novabefore 8.0+git.1601298847.dd01585-3.42.18.0+git.1601298847.dd01585-3.42.1
SUSE:HPE Helion OpenStack 8ardana-osconfigbefore 8.0+git.1595885113.93abcbc-3.49.18.0+git.1595885113.93abcbc-3.49.1
SUSE:HPE Helion OpenStack 8documentation-hpe-helion-openstack-installationbefore 8.20201007-1.29.18.20201007-1.29.1
SUSE:HPE Helion OpenStack 8documentation-hpe-helion-openstack-operationsbefore 8.20201007-1.29.18.20201007-1.29.1
SUSE:HPE Helion OpenStack 8documentation-hpe-helion-openstack-opsconsolebefore 8.20201007-1.29.18.20201007-1.29.1
SUSE:HPE Helion OpenStack 8documentation-hpe-helion-openstack-planningbefore 8.20201007-1.29.18.20201007-1.29.1
SUSE:HPE Helion OpenStack 8documentation-hpe-helion-openstack-securitybefore 8.20201007-1.29.18.20201007-1.29.1
SUSE:HPE Helion OpenStack 8documentation-hpe-helion-openstack-userbefore 8.20201007-1.29.18.20201007-1.29.1
SUSE:HPE Helion OpenStack 8grafanabefore 6.7.4-4.12.16.7.4-4.12.1
SUSE:HPE Helion OpenStack 8grafana-natel-discrete-panelbefore 0.0.9-3.3.60.0.9-3.3.6
SUSE:HPE Helion OpenStack 8openstack-cinderbefore 11.2.3~dev29-3.28.211.2.3~dev29-3.28.2
SUSE:HPE Helion OpenStack 8openstack-cinder-docbefore 11.2.3~dev29-3.28.111.2.3~dev29-3.28.1
SUSE:HPE Helion OpenStack 8openstack-monasca-installerbefore 20190923_16.32-3.15.120190923_16.32-3.15.1
SUSE:HPE Helion OpenStack 8openstack-neutronbefore 11.0.9~dev69-3.37.211.0.9~dev69-3.37.2
SUSE:HPE Helion OpenStack 8openstack-neutron-docbefore 11.0.9~dev69-3.37.111.0.9~dev69-3.37.1

+96

Other highest-scoring records for the same primary product.

  • CVE-2021-39226Snapshot authentication bypass in grafanaKEV
    89Now
  • CVE-2021-43798Grafana path traversalKEV
    87Now
  • CVE-2024-9264Grafana SQL Expressions allow for remote code execution
    65This week
  • CVE-2020-13379The avatar feature in Grafana 3.0.1 through 7.0.1 has an SSRF Incorrect Access Control issue.
    62This week
  • CVE-2018-15727Grafana 2.x, 3.x, and 4.x before 4.6.4 and 5.x before 5.2.3 allows authentication bypass because an attacker can generate a valid "remember
    58Plan
  • CVE-2022-31097Stored XSS in Grafana's Unified Alerting
    55Plan

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
Go:github.com/grafana/grafana6.0.0-beta1Package registry (OSV)
Go:github.com/grafana/grafana6.0.0-beta1+incompatiblePackage registry (OSV)
red hat:grafana0:5.2.4-1.el7cp · Red Hat:ceph_storage:3::el7Package registry (OSV)
suse:ardana-ansible9.0+git.1596813072.110811d-3.25.2 · SUSE:OpenStack Cloud 9Package registry (OSV)
suse:ardana-cinder9.0+git.1596129576.0b3d3ce-3.13.2 · SUSE:OpenStack Cloud 9Package registry (OSV)
suse:ardana-cobbler9.0+git.1588258487.3acf8ad-3.16.2 · SUSE:OpenStack Cloud 9Package registry (OSV)
suse:ardana-installer-ui9.0+git.1569535129.ca87ef0-3.13.2 · SUSE:OpenStack Cloud 9Package registry (OSV)
suse:ardana-opsconsole-ui9.0+git.1566593422.813e56c-4.13.2 · SUSE:OpenStack Cloud 9Package registry (OSV)
suse:ardana-osconfig9.0+git.1597427032.a062830-3.19.2 · SUSE:OpenStack Cloud 9Package registry (OSV)
suse:grafana6.7.4-3.17.1 · SUSE:OpenStack Cloud 9Package registry (OSV)
suse:grafana-natel-discrete-panel0.0.9-4.3.3 · SUSE:OpenStack Cloud 9Package registry (OSV)
suse:openstack-cinder13.0.10~dev16-3.25.3 · SUSE:OpenStack Cloud 9Package registry (OSV)
suse:openstack-dashboard14.1.1~dev7-3.18.3 · SUSE:OpenStack Cloud 9Package registry (OSV)
suse:openstack-ironic11.1.5~dev16-3.22.3 · SUSE:OpenStack Cloud 9Package registry (OSV)
suse:openstack-ironic-python-agent3.3.4~dev5-3.16.2 · SUSE:OpenStack Cloud 9Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • A user must open a link or visit a page.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
low · data can be read
Integrity
low · data or configuration can be modified
Availability
none

Impact can extend beyond the vulnerable component (scope changes).

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Changed
Confidentiality impact
Low
Integrity impact
Low
Availability impact
None

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

nvd-primary

Root cause

User content is inserted into the page as HTML. The browser interprets the content as code rather than data.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

ts
commentEl.innerHTML = comment.body;

Fixed

ts
commentEl.textContent = comment.body;

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

Vendor advisories and official records. Exploit/PoC links are deliberately left out.

All records