{"id":"CVE-2023-0594","state":"PUBLISHED","title":"Grafana is an open-source platform for monitoring and observability. ","description":"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","publishedAt":"2023-03-01T15:36:43.881Z","updatedAt":"2026-01-28T04:55:36.581Z","severity":{"score":7.3,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","source":"GRAFANA"},"assigner":"GRAFANA","products":["Grafana Grafana","Grafana Grafana Enterprise"],"affected":[{"vendor":"Grafana","product":"Grafana","defaultStatus":"unaffected","versions":[{"version":"7.0.0","status":"affected","lessThan":"8.5.21","versionType":"semver"},{"version":"9.0.0","status":"affected","lessThan":"9.2.13","versionType":"semver"},{"version":"9.3.0","status":"affected","lessThan":"9.3.8","versionType":"semver"}]},{"vendor":"Grafana","product":"Grafana Enterprise","defaultStatus":"unaffected","versions":[{"version":"7.0.0","status":"affected","lessThan":"8.5.21","versionType":"semver"},{"version":"9.0.0","status":"affected","lessThan":"9.2.13","versionType":"semver"},{"version":"9.3.0","status":"affected","lessThan":"9.3.8","versionType":"semver"}]}],"references":["https://grafana.com/security/security-advisories/cve-2023-0594/","https://security.netapp.com/advisory/ntap-20230331-0007/"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:05:36.141Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/0xxx/CVE-2023-0594.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2023-0594","state":"PUBLISHED","datePublished":"2023-03-01T15:36:43.881Z","dateUpdated":"2026-01-28T04:55:36.581Z","assignerShortName":"GRAFANA","assignerOrgId":"57da9224-a3e2-4646-9d0e-c4dc2e05e7da","dateReserved":"2023-01-31T10:37:31.334Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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"}],"affected":[{"vendor":"Grafana","product":"Grafana","defaultStatus":"unaffected","versions":[{"version":"7.0.0","status":"affected","lessThan":"8.5.21","versionType":"semver"},{"version":"9.0.0","status":"affected","lessThan":"9.2.13","versionType":"semver"},{"version":"9.3.0","status":"affected","lessThan":"9.3.8","versionType":"semver"}]},{"vendor":"Grafana","product":"Grafana Enterprise","defaultStatus":"unaffected","versions":[{"version":"7.0.0","status":"affected","lessThan":"8.5.21","versionType":"semver"},{"version":"9.0.0","status":"affected","lessThan":"9.2.13","versionType":"semver"},{"version":"9.3.0","status":"affected","lessThan":"9.3.8","versionType":"semver"}]}],"references":[{"url":"https://grafana.com/security/security-advisories/cve-2023-0594/"}],"metrics":[{"cvssV3_1":{"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"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","description":"CWE-79","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"GRAFANA","orgId":"57da9224-a3e2-4646-9d0e-c4dc2e05e7da","dateUpdated":"2023-04-04T10:15:49.096Z"},"impacts":[{"capecId":"CAPEC-592","descriptions":[{"lang":"en","value":"CAPEC-592"}]}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.1.0-dev"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://security.netapp.com/advisory/ntap-20230331-0007/"},{"url":"https://grafana.com/security/security-advisories/cve-2023-0594/","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T05:17:50.130Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-01-27T00:00:00+00:00","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3","id":"CVE-2023-0594"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-01-28T04:55:36.581Z"}}]}}}