Lucene search

K
redhatcveRedhat.comRH:CVE-2023-22462
HistoryMar 02, 2023 - 9:29 a.m.

CVE-2023-22462

2023-03-0209:29:51
redhat.com
access.redhat.com
82

0.002 Low

EPSS

Percentile

64.2%

A flaw was found in the Grafana core plugin, “Text.” The vulnerability was possible due to React’s render cycle that will pass through unsanitized HTML code. However, the HTML is cleaned and saved in Grafana’s database in the next cycle. An attacker needs the Editor role in changing a Text panel to include JavaScript. Later, another user needs to edit the same Text panel and click “Markdown” or “HTML” to execute the code. This issue allows possible vertical privilege escalation, where a user with an Editor role can change to a known password for a user having an Admin role if the user with an Admin role executes malicious JavaScript viewing a dashboard.