{"cve":"CVE-2023-0507","nvd":{"published":"2023-03-01T16:15:09.647","modified":"2026-06-17T05:25:42.743","status":"Modified","description":"Grafana is an open-source platform for monitoring and observability. \n\nStarting with the 8.1 branch, Grafana had a stored XSS vulnerability affecting the core plugin GeoMap. \n\nThe stored XSS vulnerability was possible due to map attributions weren't properly sanitized and allowed arbitrary JavaScript to be executed in the context of the currently authorized user of the Grafana instance. \n\nAn attacker needs to have the Editor role in order to change a panel to include a map attribution containing 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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4},"cwes":["CWE-79"],"references":["https://grafana.com/security/security-advisories/cve-2023-0507/","https://security.netapp.com/advisory/ntap-20230413-0001/","https://grafana.com/security/security-advisories/cve-2023-0507/","https://security.netapp.com/advisory/ntap-20230413-0001/"],"products":["grafana:grafana"],"source":"nvd","synced_at":"2026-10-19T21:37:41.955480748+00:00"},"epss":{"cve":"CVE-2023-0507","score":0.1546,"percentile":0.96802,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-hjv9-hm2f-rpcj","url":"https://osv.dev/vulnerability/GHSA-hjv9-hm2f-rpcj","summary":"Grafana vulnerable to Cross-site Scripting","modified":"2025-02-13T18:41:27Z","packages":[{"ecosystem":"Go","name":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","ranges":[">=8.1.0 <8.5.21"],"fixed":["8.5.21"]},{"ecosystem":"Go","name":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","ranges":[">=9.0.0 <9.2.13"],"fixed":["9.2.13"]},{"ecosystem":"Go","name":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","ranges":[">=9.3.0 <9.3.8"],"fixed":["9.3.8"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}