{"id":"CVE-2023-0594","published":"2023-03-01T15:36:43Z","modified":"2026-01-28T04:55:36Z","title":"Grafana is an open-source platform for monitoring and observability","vendor":"Grafana","product":"Grafana","tier":"tail","description":{"text":"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. \n\n","provenance":"source","from":"CVE.org"},"cvss":{"score":7.3,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.09216,"percentile":0.95467,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://grafana.com/security/security-advisories/cve-2023-0594/","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20230331-0007/","tags":[]}],"priority":{"score":24.2,"factors":[{"name":"EPSS percentile","points":19.09},{"name":"CVSS severity","points":5.11}]},"vendorSlug":"grafana","affectedVersions":[{"vendor":"Grafana","product":"Grafana","versions":[">= 7.0.0, < 8.5.21",">= 9.0.0, < 9.2.13",">= 9.3.0, < 9.3.8"]},{"vendor":"Grafana","product":"Grafana Enterprise","versions":[">= 7.0.0, < 8.5.21",">= 9.0.0, < 9.2.13",">= 9.3.0, < 9.3.8"]}],"capec":[{"id":"CAPEC-592","name":null}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-01-27T00:00:00+00:00","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/grafana/grafana","vulnerableRanges":[">=7.0.0, <8.5.21",">=9.0.0, <9.2.13",">=9.3.0, <9.3.8"],"patched":["8.5.21","9.2.13","9.3.8"],"from":["GHSA-xw5p-hw8j-xg4q"],"provenance":"source"}],"summary":{"text":"Grafana, the open-source monitoring and observability platform, contains a stored cross-site scripting flaw in its trace view visualization, present from the 7.0 branch onward, where attribute and resource values of a span are not properly sanitized before being rendered when expanded. An attacker holding the Editor role can plant JavaScript in a trace view visualization, and if a user with the Admin role views the affected dashboard and triggers the payload, the script can run in their session, requiring user interaction but no further privileges or network position beyond the Editor account.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T15:03:16Z"},"euvd":{"id":"EUVD-2023-1146","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2022-39324","published":"2023-01-27","fixed":"9.2.8","kev":false,"link":{"from":"CVE-2022-39324","to":"CVE-2023-0594","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/grafana/grafana","fromFixed":"8.5.16","toFixed":"8.5.21","daysApart":33}]}},{"cve":"CVE-2023-22462","published":"2023-03-02","fixed":"9.3.4","kev":false,"link":{"from":"CVE-2023-22462","to":"CVE-2023-0594","relation":"successor","confidence":"medium","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/grafana/grafana","fromFixed":"9.2.10","toFixed":"9.2.13","daysApart":-1},{"kind":"similar","provenance":"machine","score":0.42,"basis":"same product + CWE + description similarity"}]}},{"cve":"CVE-2023-0507","published":"2023-03-01","fixed":"9.3.8","kev":false},{"cve":"CVE-2023-0594","published":"2023-03-01","fixed":"9.3.8","kev":false},{"cve":"CVE-2023-1410","published":"2023-03-23","fixed":"9.4.7","kev":false,"link":{"from":"CVE-2023-0594","to":"CVE-2023-1410","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/grafana/grafana","fromFixed":"8.5.21","toFixed":"8.5.22","daysApart":22},{"kind":"version-step","provenance":"source","package":"Go:github.com/grafana/grafana","fromFixed":"9.3.8","toFixed":"9.3.11","daysApart":22}]}},{"cve":"CVE-2023-3128","published":"2023-06-22","fixed":"9.4.13","kev":false},{"cve":"CVE-2023-2183","published":"2023-06-06","fixed":"9.5.3","kev":false}],"package":"Go:github.com/grafana/grafana"}}