{"schemaVersion":3,"id":"CVE-2023-0507","aliases":["UBUNTU-CVE-2023-0507","GHSA-hjv9-hm2f-rpcj","BIT-grafana-2023-0507"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2023-03-01T15:35:55.259Z","modified":"2026-01-28T04:55:39.324Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.3,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.3,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":5.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","exploitability":5.9,"impact":4.5,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":5.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","exploitability":5.9,"impact":4.5,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.1546,"percentile":0.96791,"severity":"medium","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.1546},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.1546,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.1546,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.1546,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.1546,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.1546,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.1546,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.1546,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.1546,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.1546,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.1546,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.1546,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.1546,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.1546,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.1546,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.1546,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.1546,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.1546,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.1546,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.1546,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.1546,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.1546,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.1546,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.1546,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.1546,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.1546,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.1546,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.1546,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.1546,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.1546,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.1546,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.1546,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.1546,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.1546,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.1546,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.1546,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.1546,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.1546,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.1546,"percentile":0.96791}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.1546,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.1546,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.1546,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.1546,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.1546,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.1546,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.1546,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.1546,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.1546,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.1546,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.1546,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.1546,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.1546,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.1546,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.1546,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.1546,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.1546,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.1546,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.1546,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.1546,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.1546,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.1546,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.1546,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.1546,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.1546,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.1546,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.1546,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.1546,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.1546,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.1546,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.1546,"percentile":0.96791}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","description":"The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/79.html"}],"affected":[{"vendor":"ubuntu","product":"grafana","name":"grafana","label":"grafana","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/grafana","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"github.com/grafana","product":"grafana","name":"github.com/grafana/grafana","label":"grafana","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/grafana/grafana","purlType":"golang","versions":[{"text":"≥ 8.1.0, < 8.5.21","noFixRecorded":false,"fixedIn":null},{"text":"≥ 9.0.0, < 9.2.13","noFixRecorded":false,"fixedIn":null},{"text":"≥ 9.3.0, < 9.3.8","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 8.1.0, < 8.5.21 | ≥ 9.0.0, < 9.2.13 | ≥ 9.3.0, < 9.3.8","eol":null,"hubHref":null},{"vendor":"grafana","product":"grafana","name":"grafana","label":"grafana","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 9.0.0, < 9.2.13","noFixRecorded":false,"fixedIn":null},{"text":"≥ 8.1.0, < 8.5.21","noFixRecorded":false,"fixedIn":null},{"text":"≥ 9.2.0, < 9.2.13","noFixRecorded":false,"fixedIn":null},{"text":"≥ 9.3.0, < 9.3.8","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 9.0.0, < 9.2.13 | ≥ 8.1.0, < 8.5.21 | ≥ 9.2.0, < 9.2.13 | ≥ 9.3.0, < 9.3.8","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"grafana","label":"Grafana","category":"server-app"}},"hubHref":"/vendor/grafana/grafana"},{"vendor":"grafana","product":"grafana enterprise","name":"Grafana Enterprise","label":"grafana enterprise","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 8.1.0, < 8.5.21","noFixRecorded":false,"fixedIn":null},{"text":"≥ 9.0.0, < 9.2.13","noFixRecorded":false,"fixedIn":null},{"text":"≥ 9.3.0, < 9.3.8","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 8.1.0, < 8.5.21 | ≥ 9.0.0, < 9.2.13 | ≥ 9.3.0, < 9.3.8","eol":null,"hubHref":"/vendor/grafana/grafana_enterprise"}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://grafana.com/security/security-advisories/cve-2023-0507/","label":"grafana.com/security/security-advisories/cve-2023-0507/","hostname":"grafana.com","tags":["Vendor Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20230413-0001/","label":"security.netapp.com/advisory/ntap-20230413-0001/","hostname":"security.netapp.com","tags":[]},{"url":"https://ubuntu.com/security/CVE-2023-0507","label":"ubuntu.com/security/CVE-2023-0507","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-0507","label":"www.cve.org/CVERecord?id=CVE-2023-0507","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-0507","label":"nvd.nist.gov/vuln/detail/CVE-2023-0507","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/grafana/grafana","label":"github.com/grafana/grafana","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://grafana.com/security/security-advisories/cve-2023-0507","label":"grafana.com/security/security-advisories/cve-2023-0507","hostname":"grafana.com","tags":["WEB"]},{"url":"https://security.netapp.com/advisory/ntap-20230413-0001","label":"security.netapp.com/advisory/ntap-20230413-0001","hostname":"security.netapp.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":["SUSE-SU-2023:1902-1","SUSE-SU-2023:1903-1","SUSE-SU-2023:1904-1","SUSE-SU-2024:0191-1","SUSE-SU-2024:0196-1"],"duplicates":[],"related":["SUSE-SU-2023:1902-1","SUSE-SU-2023:1903-1","SUSE-SU-2023:1904-1","SUSE-SU-2024:0191-1","SUSE-SU-2024:0196-1"]},"timeline":[{"kind":"published","date":"2023-03-01T15:35:55.259Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-01-28T04:55:39.324Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":32,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T13:42:34.612Z","stale":false,"partial":false}}