CyberRota Analysis
AI-GeneratedAuthenticated users with Editor access in Grafana are vulnerable to a cross-site scripting (XSS) attack due to insufficient sanitization of the external Alertmanager alert's generatorURL. This flaw allows attackers to inject malicious JavaScript that executes in the context of the victim's session, potentially compromising user data and session integrity. Organizations using Grafana should prioritize addressing this vulnerability to protect against potential exploitation by malicious insiders or compromised accounts.
Original NVD Description
An authenticated attacker with Editor access or alert.instances.external:write can submit an external Alertmanager alert containing a controlled generatorURL. The attacker is authorized to create the alert, but not to execute script in another user's Grafana session. Grafana renders alert.generatorURL directly as the Alert Details See source LinkButton href without URL-scheme sanitization or a safe-protocol allowlist. The click interceptor's :// heuristic can be bypassed by placing :// inside a JavaScript comment. When a user with read access clicks See source, the browser executes attacker-controlled JavaScript in the Grafana origin with the clicking user's permissions.