{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2023-0594","published":"2023-03-01T16:15:09.743000Z","last_modified":"2026-06-17T05:25:53.543000Z","status":"Modified","cvss":{"version":"3.1","score":5.4,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*","part":"a","vendor":"grafana","product":"grafana","version_start_including":"7.0.0","version_end_excluding":"8.5.21"},{"criteria":"cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*","part":"a","vendor":"grafana","product":"grafana","version_start_including":"9.2.0","version_end_excluding":"9.2.13"},{"criteria":"cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*","part":"a","vendor":"grafana","product":"grafana","version_start_including":"9.3.0","version_end_excluding":"9.3.8"}],"cpes_truncated":false,"vendors":["grafana"],"products":["grafana/grafana"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total"},"epss":{"score":0.00769,"percentile":0.52028,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-xw5p-hw8j-xg4q","ecosystem":"Go","name":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","ranges":[{"introduced":"7.0.0","fixed":"8.5.21"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-xw5p-hw8j-xg4q","ecosystem":"Go","name":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","ranges":[{"introduced":"9.0.0","fixed":"9.2.13"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-xw5p-hw8j-xg4q","ecosystem":"Go","name":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","ranges":[{"introduced":"9.3.0","fixed":"9.3.8"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":32,"links":{"html_es":"/es/cve/CVE-2023-0594/","html_en":"/en/cve/CVE-2023-0594/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-0594","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-0594"},"untrusted":{"vendor_name":"Grafana","product_name":"Grafana","desc_en":"Grafana is an open-source platform for monitoring and observability. \n\nStarting with the 7.0 branch, Grafana had a stored XSS vulnerability in the trace view visualization. \n\nThe 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.\n\nAn attacker needs to have the Editor role in order to change the value of a trace view visualization to contain JavaScript. \n\nThis 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. \n\nUsers may upgrade to version 8.5.21, 9.2.13 and 9.3.8 to receive a fix.","affected":[{"untrusted_vendor":"Grafana","untrusted_product":"Grafana","versions":[]},{"untrusted_vendor":"Grafana","untrusted_product":"Grafana Enterprise","versions":[]}],"references":[{"url":"https://grafana.com/security/security-advisories/cve-2023-0594/","tags":["Vendor Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20230331-0007/","tags":[]}]}}