Skip to main content
EPSS 0.2%top 89%

CVE-2026-17033: CWE-79: IMPROPER NEUTRALIZATION OF INPUT DURING WEB PAGE GENERATION ('CROSS-SITE SCRIPTING') in Grafana Grafana OSS

0
Medium
VulnerabilityCVE-2026-17033cvecve-2026-17033cwe-79
Published: 08/24/2026 (08/24/2026, 13:52:26 UTC)
Source: CVE Database V5
Vendor/Project: Grafana
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
Low
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:L

Affected software

Grafana

Grafana OSS

Affected versions
>=0 <=12.3.11>=12.4.0 <=12.4.9>=13.0.0 <=13.0.7
GitHub Actionsmore threats →ai
grafana/grafana
pkg:github/grafana/grafana
Affected versions
=12.4.0=13.0.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/10/2026, 21:32:55 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses