{"api_version":"1","generated_at":"2026-07-25T00:48:26+00:00","cve":"CVE-2023-0594","urls":{"html":"https://cve.report/CVE-2023-0594","api":"https://cve.report/api/cve/CVE-2023-0594.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-0594","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-0594"},"summary":{"title":"CVE-2023-0594","description":"Grafana is an open-source platform for monitoring and observability. Starting with the 7.0 branch, Grafana had a stored XSS vulnerability in the trace view visualization. The stored XSS vulnerability was possible due the value of a span's attributes/resources were not properly sanitized and this will be rendered when the span's attributes/resources are expanded. An attacker needs to have the Editor role in order to change the value of a trace view visualization to contain JavaScript. This means that vertical privilege escalation is possible, where a user with Editor role can change to a known password for a user having Admin role if the user with Admin role executes malicious JavaScript viewing a dashboard. Users may upgrade to version 8.5.21, 9.2.13 and 9.3.8 to receive a fix.","state":"PUBLIC","assigner":"security@grafana.com","published_at":"2023-03-01 16:15:00","updated_at":"2023-11-07 04:00:00"},"problem_types":["CWE-79"],"metrics":[],"references":[{"url":"https://grafana.com/security/security-advisories/cve-2023-0594/","name":"https://grafana.com/security/security-advisories/cve-2023-0594/","refsource":"MISC","tags":[],"title":"404 Page not found | Grafana Labs","mime":"text/html","httpstatus":"404","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-0594","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-0594","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2023","cve_id":"594","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"grafana","cpe5":"grafana","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2023-0594","qid":"150659","title":"Grafana Multiple Stored Cross-Site Scripting Vulnerabilities (CVE-2023-0594,CVE-2023-0507)"},{"cve":"CVE-2023-0594","qid":"691078","title":"Free Berkeley Software Distribution (FreeBSD) Security Update for grafana (e7841611-b808-11ed-b695-6c3be5272acd)"},{"cve":"CVE-2023-0594","qid":"730754","title":"Grafana Stored Cross-Site Scripting (XSS) Vulnerability"}]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2023-0594","ASSIGNER":"security@grafana.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"Grafana is an open-source platform for monitoring and observability. Starting with the 7.0 branch, Grafana had a stored XSS vulnerability in the trace view visualization. The stored XSS vulnerability was possible due the value of a span's attributes/resources were not properly sanitized and this will be rendered when the span's attributes/resources are expanded. An attacker needs to have the Editor role in order to change the value of a trace view visualization to contain JavaScript. This means that vertical privilege escalation is possible, where a user with Editor role can change to a known password for a user having Admin role if the user with Admin role executes malicious JavaScript viewing a dashboard. Users may upgrade to version 8.5.21, 9.2.13 and 9.3.8 to receive a fix."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-79","cweId":"CWE-79"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"Grafana","product":{"product_data":[{"product_name":"Grafana","version":{"version_data":[{"version_affected":"<","version_name":"7.0.0","version_value":"8.5.21"},{"version_affected":"<","version_name":"9.0.0","version_value":"9.2.13"},{"version_affected":"<","version_name":"9.3.0","version_value":"9.3.8"}]}},{"product_name":"Grafana Enterprise","version":{"version_data":[{"version_affected":"<","version_name":"7.0.0","version_value":"8.5.21"},{"version_affected":"<","version_name":"9.0.0","version_value":"9.2.13"},{"version_affected":"<","version_name":"9.3.0","version_value":"9.3.8"}]}}]}}]}},"references":{"reference_data":[{"url":"https://grafana.com/security/security-advisories/cve-2023-0594/","refsource":"MISC","name":"https://grafana.com/security/security-advisories/cve-2023-0594/"}]},"generator":{"engine":"Vulnogram 0.1.0-dev"},"source":{"discovery":"UNKNOWN"},"impact":{"cvss":[{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.3,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","version":"3.1"}]}},"nvd":{"publishedDate":"2023-03-01 16:15:00","lastModifiedDate":"2023-11-07 04:00:00","problem_types":["CWE-79"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":5.4,"baseSeverity":"MEDIUM"},"exploitabilityScore":2.3,"impactScore":2.7}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*","versionStartIncluding":"9.3.0","versionEndExcluding":"9.3.8","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*","versionStartIncluding":"9.2.0","versionEndExcluding":"9.2.13","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*","versionStartIncluding":"7.0.0","versionEndExcluding":"8.5.21","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}