{"schema_version":"1.9.0","id":"BIT-grafana-2023-0594","published":"2024-03-06T10:54:07.303Z","modified":"2026-09-08T08:47:47.506076810Z","aliases":["CVE-2023-0594","GHSA-xw5p-hw8j-xg4q"],"details":"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":[{"package":{"name":"grafana","ecosystem":"Bitnami","purl":"pkg:bitnami/grafana"},"ranges":[{"type":"SEMVER","events":[{"introduced":"7.0.0"},{"fixed":"8.5.21"},{"introduced":"9.2.0"},{"fixed":"9.2.13"},{"introduced":"9.3.0"},{"fixed":"9.3.8"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/grafana/BIT-grafana-2023-0594.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"}]}],"references":[{"type":"ADVISORY","url":"https://grafana.com/security/security-advisories/cve-2023-0594/"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20230331-0007/"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-0594"}],"database_specific":{"cpes":["cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*"],"severity":"Medium"}}