{"id":"UBUNTU-CVE-2023-0594","details":"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.","modified":"2025-10-24T05:01:05Z","published":"2023-03-01T16:15:00Z","upstream":["CVE-2023-0594"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-0594"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2023-0594"}],"affected":[{"package":{"name":"grafana","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/grafana@2.6.0+dfsg-1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.6.0+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_name":"grafana","binary_version":"2.6.0+dfsg-1"},{"binary_name":"grafana-data","binary_version":"2.6.0+dfsg-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-0594.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"},{"type":"Ubuntu","score":"medium"}]}