CVE-2026-17033: CWE-79: IMPROPER NEUTRALIZATION OF INPUT DURING WEB PAGE GENERATION ('CROSS-SITE SCRIPTING') in Grafana Grafana OSS
Description
CVE-2026-17033 is a cross-site scripting (XSS) vulnerability in Grafana OSS that allows an authenticated attacker with Editor access or alert.instances.external:write permission to inject malicious JavaScript via a crafted external Alertmanager alert. The vulnerability arises because Grafana renders the alert.generatorURL directly without proper URL-scheme sanitization or a safe-protocol allowlist. When a user with read access clicks the 'See source' link, the attacker's script executes in the context of the user's Grafana session.
CVSS v3.1
Score 6.8medium
Affected software
Grafana
Grafana OSS
pkg:github/grafana/grafanaRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability involves improper neutralization of input during web page generation (CWE-79) in Grafana OSS. An attacker authorized to create external alerts can submit an alert containing a specially crafted generatorURL. Grafana renders this URL directly as the href attribute of the 'See source' LinkButton without sanitizing the URL scheme or enforcing a safe-protocol allowlist. The click interceptor's heuristic to block unsafe schemes can be bypassed by embedding :// inside a JavaScript comment, enabling execution of attacker-controlled JavaScript when a user clicks the link. This results in script execution with the privileges of the clicking user within the Grafana origin.
Potential Impact
Successful exploitation allows execution of attacker-controlled JavaScript in the context of a victim user's Grafana session, potentially leading to unauthorized actions or data exposure with the victim's permissions. The attacker must have Editor access or alert.instances.external:write permission to submit the malicious alert, and the victim must have read access and click the crafted 'See source' link. The CVSS 3.1 base score is 6.8 (medium severity), reflecting network attack vector, low attack complexity, required privileges, user interaction, and high confidentiality impact.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict Editor and alert.instances.external:write permissions to trusted users only. Educate users to be cautious when clicking 'See source' links in alerts from untrusted sources. Monitor vendor communications for official patches or updates addressing this vulnerability.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GRAFANA
- Date Reserved
- 2026-07-24T12:11:43.417Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a8c504bacd9273b49a2280a
Added to database: 08/24/2026, 14:08:11 UTC
Last enriched: 09/10/2026, 21:32:55 UTC
Last updated: 10/06/2026, 18:48:19 UTC
Views: 56
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.