CVE-2026-17033: CWE-79: IMPROPER NEUTRALIZATION OF INPUT DURING WEB PAGE GENERATION ('CROSS-SITE SCRIPTING') in Grafana Grafana OSS
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.
AI Analysis
Technical Summary
This vulnerability involves improper neutralization of input during web page generation (CWE-79) in Grafana OSS. Specifically, the alert.generatorURL field from an external Alertmanager alert is rendered directly as the href attribute of the 'See source' LinkButton without adequate URL-scheme sanitization or a safe-protocol allowlist. An attacker with Editor or alert.instances.external:write permissions can craft a generatorURL that bypasses the click interceptor's :// heuristic by embedding :// inside a JavaScript comment. When a user with read access clicks the 'See source' link, the browser executes attacker-controlled JavaScript within the Grafana origin, leveraging the victim's permissions. The attacker is authorized to create the alert but not to execute scripts in other users' sessions directly; the exploitation requires user interaction.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of a victim user's Grafana session when they click the malicious 'See source' link. This can lead to partial confidentiality impact (C), limited integrity impact (I), and limited availability impact (A) as per the CVSS vector. The attacker must have Editor or alert.instances.external:write permissions to submit the malicious alert, and the victim must have read access and click the link for the script to execute.
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. Monitor vendor communications for updates and apply official patches once released.
CVE-2026-17033: CWE-79: IMPROPER NEUTRALIZATION OF INPUT DURING WEB PAGE GENERATION ('CROSS-SITE SCRIPTING') in Grafana Grafana OSS
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.
CVSS v3.1
Score 6.8medium
Affected software
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. Specifically, the alert.generatorURL field from an external Alertmanager alert is rendered directly as the href attribute of the 'See source' LinkButton without adequate URL-scheme sanitization or a safe-protocol allowlist. An attacker with Editor or alert.instances.external:write permissions can craft a generatorURL that bypasses the click interceptor's :// heuristic by embedding :// inside a JavaScript comment. When a user with read access clicks the 'See source' link, the browser executes attacker-controlled JavaScript within the Grafana origin, leveraging the victim's permissions. The attacker is authorized to create the alert but not to execute scripts in other users' sessions directly; the exploitation requires user interaction.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of a victim user's Grafana session when they click the malicious 'See source' link. This can lead to partial confidentiality impact (C), limited integrity impact (I), and limited availability impact (A) as per the CVSS vector. The attacker must have Editor or alert.instances.external:write permissions to submit the malicious alert, and the victim must have read access and click the link for the script to execute.
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. Monitor vendor communications for updates and apply official patches once released.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GRAFANA
- Date Reserved
- 2026-07-24T12:11:43.417Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a8c504bacd9273b49a2280a
Added to database: 08/24/2026, 14:08:11 UTC
Last enriched: 08/24/2026, 14:23:06 UTC
Last updated: 08/24/2026, 15:23:01 UTC
Views: 4
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.