Vulnerability Details : CVE-2022-23552
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.
Vulnerability category: Cross site scripting (XSS)Gain privilege
Products affected by CVE-2022-23552
- cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*
- cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*
- cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-23552
0.11%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 45 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-23552
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.4
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
2.3
|
2.7
|
NIST | |
7.3
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N |
2.1
|
5.2
|
GitHub, Inc. |
CWE ids for CVE-2022-23552
-
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.Assigned by: security-advisories@github.com (Primary)
References for CVE-2022-23552
-
https://github.com/grafana/grafana/pull/62143
SVG: Add dompurify preprocessor step by nmarrs · Pull Request #62143 · grafana/grafana · GitHubPatch;Third Party Advisory
-
https://github.com/grafana/grafana/commit/8b574e22b53aa4c5a35032a58844fd4aaaa12f5f
SVG: Add dompurify preprocessor step (#62143) · grafana/grafana@8b574e2 · GitHubPatch;Third Party Advisory
-
https://github.com/grafana/grafana/commit/c022534e3848a5d45c0b3face23b43aa44e4400a
[v9.2.x] SVG: Add dompurify preprocessor step (#704) · grafana/grafana@c022534 · GitHubPatch;Third Party Advisory
-
https://github.com/grafana/grafana/security/advisories/GHSA-8xmm-x63g-f6xv
Stored XSS in ResourcePicker component · Advisory · grafana/grafana · GitHubThird Party Advisory
-
https://github.com/grafana/grafana/commit/1c8a50b36973bd59a1cc5f34c30de8a9a6a431f0
[v9.3.x] SVG: Add dompurify preprocessor step (#62157) · grafana/grafana@1c8a50b · GitHubPatch;Third Party Advisory
Jump to