{"api_version":"1","generated_at":"2026-04-22T23:31:34+00:00","cve":"CVE-2022-23552","urls":{"html":"https://cve.report/CVE-2022-23552","api":"https://cve.report/api/cve/CVE-2022-23552.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-23552","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-23552"},"summary":{"title":"CVE-2022-23552","description":"Grafana is an open-source platform for monitoring and observability. Starting with the 8.1 branch and prior to versions 8.5.16, 9.2.10, and 9.3.4, Grafana had a stored XSS vulnerability affecting the core plugin GeoMap. The stored XSS vulnerability was possible because SVG files weren't properly sanitized and allowed arbitrary JavaScript to be executed in the context of the currently authorized user of the Grafana instance. An attacker needs to have the Editor role in order to change a panel to include either an external URL to a SVG-file containing JavaScript, or use the `data:` scheme to load an inline SVG-file containing 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.16, 9.2.10, or 9.3.4 to receive a fix.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2023-01-27 23:15:00","updated_at":"2023-11-07 03:44:00"},"problem_types":["CWE-79"],"metrics":[],"references":[{"url":"https://github.com/grafana/grafana/commit/1c8a50b36973bd59a1cc5f34c30de8a9a6a431f0","name":"https://github.com/grafana/grafana/commit/1c8a50b36973bd59a1cc5f34c30de8a9a6a431f0","refsource":"MISC","tags":[],"title":"[v9.3.x] SVG: Add dompurify preprocessor step (#62157) · grafana/grafana@1c8a50b · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/grafana/grafana/commit/c022534e3848a5d45c0b3face23b43aa44e4400a","name":"https://github.com/grafana/grafana/commit/c022534e3848a5d45c0b3face23b43aa44e4400a","refsource":"MISC","tags":[],"title":"[v9.2.x] SVG: Add dompurify preprocessor step (#704) · grafana/grafana@c022534 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/grafana/grafana/security/advisories/GHSA-8xmm-x63g-f6xv","name":"https://github.com/grafana/grafana/security/advisories/GHSA-8xmm-x63g-f6xv","refsource":"MISC","tags":[],"title":"Stored XSS in ResourcePicker component  · Advisory · grafana/grafana · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/grafana/grafana/pull/62143","name":"https://github.com/grafana/grafana/pull/62143","refsource":"MISC","tags":[],"title":"SVG: Add dompurify preprocessor step by nmarrs · Pull Request #62143 · grafana/grafana · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/grafana/grafana/commit/8b574e22b53aa4c5a35032a58844fd4aaaa12f5f","name":"https://github.com/grafana/grafana/commit/8b574e22b53aa4c5a35032a58844fd4aaaa12f5f","refsource":"MISC","tags":[],"title":"SVG: Add dompurify preprocessor step (#62143) · grafana/grafana@8b574e2 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-23552","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-23552","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"23552","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"grafana","cpe5":"grafana","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2022-23552","qid":"150644","title":"Grafana Stored Cross-Site Scripting (XSS) Vulnerability (CVE-2022-23552)"},{"cve":"CVE-2022-23552","qid":"161102","title":"Oracle Enterprise Linux Security Update for grafana security and enhancement update (ELSA-2023-6420)"},{"cve":"CVE-2022-23552","qid":"242309","title":"Red Hat Update for grafana (RHSA-2023:6420)"},{"cve":"CVE-2022-23552","qid":"691055","title":"Free Berkeley Software Distribution (FreeBSD) Security Update for grafana (ecffb881-a7a7-11ed-8d6a-6c3be5272acd)"},{"cve":"CVE-2022-23552","qid":"753815","title":"SUSE Enterprise Linux Security Update for SUSE Manager Client Tools (SUSE-SU-2023:0812-1)"},{"cve":"CVE-2022-23552","qid":"941404","title":"AlmaLinux Security Update for grafana (ALSA-2023:6420)"}]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2022-23552","ASSIGNER":"security-advisories@github.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"Grafana is an open-source platform for monitoring and observability. Starting with the 8.1 branch and prior to versions 8.5.16, 9.2.10, and 9.3.4, Grafana had a stored XSS vulnerability affecting the core plugin GeoMap. The stored XSS vulnerability was possible because SVG files weren't properly sanitized and allowed arbitrary JavaScript to be executed in the context of the currently authorized user of the Grafana instance. An attacker needs to have the Editor role in order to change a panel to include either an external URL to a SVG-file containing JavaScript, or use the `data:` scheme to load an inline SVG-file containing 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.16, 9.2.10, or 9.3.4 to receive a fix."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","cweId":"CWE-79"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"grafana","product":{"product_data":[{"product_name":"grafana","version":{"version_data":[{"version_value":">= 9.0, < 9.2.10","version_affected":"="},{"version_value":">= 9.3, < 9.3.4","version_affected":"="},{"version_value":">= 8.1, < 8.5.16","version_affected":"="}]}}]}}]}},"references":{"reference_data":[{"url":"https://github.com/grafana/grafana/security/advisories/GHSA-8xmm-x63g-f6xv","refsource":"MISC","name":"https://github.com/grafana/grafana/security/advisories/GHSA-8xmm-x63g-f6xv"},{"url":"https://github.com/grafana/grafana/pull/62143","refsource":"MISC","name":"https://github.com/grafana/grafana/pull/62143"},{"url":"https://github.com/grafana/grafana/commit/1c8a50b36973bd59a1cc5f34c30de8a9a6a431f0","refsource":"MISC","name":"https://github.com/grafana/grafana/commit/1c8a50b36973bd59a1cc5f34c30de8a9a6a431f0"},{"url":"https://github.com/grafana/grafana/commit/8b574e22b53aa4c5a35032a58844fd4aaaa12f5f","refsource":"MISC","name":"https://github.com/grafana/grafana/commit/8b574e22b53aa4c5a35032a58844fd4aaaa12f5f"},{"url":"https://github.com/grafana/grafana/commit/c022534e3848a5d45c0b3face23b43aa44e4400a","refsource":"MISC","name":"https://github.com/grafana/grafana/commit/c022534e3848a5d45c0b3face23b43aa44e4400a"}]},"source":{"advisory":"GHSA-8xmm-x63g-f6xv","discovery":"UNKNOWN"},"impact":{"cvss":[{"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"}]}},"nvd":{"publishedDate":"2023-01-27 23:15:00","lastModifiedDate":"2023-11-07 03:44:00","problem_types":["CWE-79"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":5.4,"baseSeverity":"MEDIUM"},"exploitabilityScore":2.3,"impactScore":2.7}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*","versionStartIncluding":"8.1.0","versionEndExcluding":"8.5.16","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*","versionStartIncluding":"9.0.0","versionEndExcluding":"9.2.10","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*","versionStartIncluding":"9.3.0","versionEndExcluding":"9.3.4","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2022","CveId":"23552","Ordinal":"226401","Title":"CVE-2022-23552","CVE":"CVE-2022-23552","Year":"2022"},"notes":[{"CveYear":"2022","CveId":"23552","Ordinal":"1","NoteData":"** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided.","Type":"Description","Title":null}]}}}