Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

XSS vulnerability allowing arbitrary JavaScript execution

Exploitation and risk

Source status

CISA KEV lists vulnerabilities known to be exploited. FIRST EPSS estimates the likelihood of exploitation in the next 30 days. An unavailable score does not mean zero risk.

Which CVEs have scores here?

This view includes predictions for CVE identifiers explicitly listed in public NuGet advisories. Microsoft release pages have their own prediction coverage. Check source status for the scope and latest checks.

No exploitation or prediction data is available here for these CVEs. This does not mean they are safe or unlikely to be exploited.

cve-program · CVE-2021-41174

Published

Grafana is an open-source platform for monitoring and observability. In affected versions if an attacker is able to convince a victim to visit a URL referencing a vulnerable page, arbitrary JavaScript content may be executed within the context of the victim's browser. The user visiting the malicious link must be unauthenticated and the link must be for a page that contains the login button in the menu bar. The url has to be crafted to exploit AngularJS rendering and contain the interpolation binding for AngularJS expressions. AngularJS uses double curly braces for interpolation binding: {{ }} ex: {{constructor.constructor(‘alert(1)’)()}}. When the user follows the link and the page renders, the login button will contain the original link with a query parameter to force a redirect to the login page. The URL is not validated and the AngularJS rendering engine will execute the JavaScript expression contained in the URL. Users are advised to upgrade as soon as possible. If for some reason you cannot upgrade, you can use a reverse proxy or similar to block access to block the literal string {{ in the path.

Source published
3 Nov 2021 18:00:12 UTC
Source modified
4 Aug 2024 02:59:31 UTC
Saved here
23 Oct 2026 15:48:27 UTC
Source terms
CVE Program Terms of Use

Original source record · Cite this exact observation · Complete original publisher JSON

Source: cve-program · CVE Program Terms of Use. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.

CVSS 3.1 · 6.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:H/A:N

euvd · EUVD-2021-2285

Published

Grafana is an open-source platform for monitoring and observability. In affected versions if an attacker is able to convince a victim to visit a URL referencing a vulnerable page, arbitrary JavaScript content may be executed within the context of the victim's browser. The user visiting the malicious link must be unauthenticated and the link must be for a page that contains the login button in the menu bar. The url has to be crafted to exploit AngularJS rendering and contain the interpolation binding for AngularJS expressions. AngularJS uses double curly braces for interpolation binding: {{ }} ex: {{constructor.constructor(‘alert(1)’)()}}. When the user follows the link and the page renders, the login button will contain the original link with a query parameter to force a redirect to the login page. The URL is not validated and the AngularJS rendering engine will execute the JavaScript expression contained in the URL. Users are advised to upgrade as soon as possible. If for some reason you cannot upgrade, you can use a reverse proxy or similar to block access to block the literal string {{ in the path.

Additional publisher context

EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON.

Original publisher date fields

datePublished: Nov 3, 2021, 6:00:12 PM

dateUpdated: Aug 4, 2024, 2:59:31 AM

11 related source bulletins · separate from aliases

SUSE-SU-2024:0191-1: Security Beta update for SUSE Manager Client Tools

CVE-2020-7753 · CVE-2021-36222 · CVE-2021-3711 · CVE-2021-3807 · CVE-2021-3918 · CVE-2021-39226 · CVE-2021-41174 · CVE-2021-41244 · CVE-2021-43138 · CVE-2021-43798 · CVE-2021-43813 · CVE-2021-43815 · CVE-2022-0155 · CVE-2022-21673 · CVE-2022-21698 · CVE-2022-21702 · CVE-2022-21703 · CVE-2022-21713 · CVE-2022-23552 · CVE-2022-27191 · CVE-2022-27664 · CVE-2022-29170 · CVE-2022-31097 · CVE-2022-31107 · CVE-2022-31123 · CVE-2022-31130 · CVE-2022-32149 · CVE-2022-35957 · CVE-2022-36062 · CVE-2022-39201 · CVE-2022-39229 · CVE-2022-39306 · CVE-2022-39307 · CVE-2022-39324 · CVE-2022-41715 · CVE-2022-41723 · CVE-2022-46146 · CVE-2023-0507 · CVE-2023-0594 · CVE-2023-1387 · CVE-2023-1410 · CVE-2023-2183 · CVE-2023-2801 · CVE-2023-3128 · CVE-2023-40577

SUSE-SU-2022:4437-1: Security update for SUSE Manager Client Tools

CVE-2021-36222 · CVE-2021-3711 · CVE-2021-41174 · CVE-2021-41244 · CVE-2021-43798 · CVE-2021-43813 · CVE-2021-43815 · CVE-2022-29170 · CVE-2022-31097 · CVE-2022-31107 · CVE-2022-35957 · CVE-2022-36062

SUSE-SU-2022:3676-1: Security update for grafana

CVE-2021-36222 · CVE-2021-3711 · CVE-2021-41174 · CVE-2021-41244 · CVE-2021-43798 · CVE-2021-43815 · CVE-2022-21673 · CVE-2022-21702 · CVE-2022-21703 · CVE-2022-21713 · CVE-2022-31097 · CVE-2022-31107 · CVE-2022-35957 · CVE-2022-36062

SUSE-FU-2022:1419-1: Feature update for grafana

CVE-2021-36222 · CVE-2021-3711 · CVE-2021-39226 · CVE-2021-41174 · CVE-2021-41244 · CVE-2021-43798 · CVE-2021-43813 · CVE-2021-43815 · CVE-2022-21673 · CVE-2022-21702 · CVE-2022-21703 · CVE-2022-21713

WID-SEC-W-2022-0402: Grafana: Schwachstelle ermöglicht Cross-Site Scripting

CVE-2021-41174

SUSE-SU-2022:4439-1: Security update for SUSE Manager Client Tools

CVE-2021-36222 · CVE-2021-3711 · CVE-2021-41174 · CVE-2021-41244 · CVE-2021-43798 · CVE-2021-43813 · CVE-2021-43815 · CVE-2022-29170 · CVE-2022-31097 · CVE-2022-31107 · CVE-2022-35957 · CVE-2022-36062

openSUSE-SU-2024:11816-1: grafana-8.3.4-1.1 on GA media

CVE-2021-36222 · CVE-2021-3711 · CVE-2021-41174 · CVE-2021-41244 · CVE-2021-43798 · CVE-2022-21673

SUSE-SU-2024:0196-1: Security Beta update for SUSE Manager Client Tools and Salt

CVE-2020-7753 · CVE-2021-20178 · CVE-2021-20180 · CVE-2021-20191 · CVE-2021-20228 · CVE-2021-3447 · CVE-2021-3583 · CVE-2021-3620 · CVE-2021-36222 · CVE-2021-3711 · CVE-2021-3807 · CVE-2021-3918 · CVE-2021-41174 · CVE-2021-41244 · CVE-2021-43138 · CVE-2021-43798 · CVE-2021-43813 · CVE-2021-43815 · CVE-2022-0155 · CVE-2022-23552 · CVE-2022-27664 · CVE-2022-29170 · CVE-2022-31097 · CVE-2022-31107 · CVE-2022-31123 · CVE-2022-31130 · CVE-2022-32149 · CVE-2022-35957 · CVE-2022-36062 · CVE-2022-39201 · CVE-2022-39229 · CVE-2022-39306 · CVE-2022-39307 · CVE-2022-39324 · CVE-2022-41715 · CVE-2022-41723 · CVE-2022-46146 · CVE-2023-0507 · CVE-2023-0594 · CVE-2023-1387 · CVE-2023-1410 · CVE-2023-2183 · CVE-2023-2801 · CVE-2023-3128

SUSE-SU-2022:1396-1: Security update for SUSE Manager Client Tools

CVE-2021-36222 · CVE-2021-3711 · CVE-2021-39226 · CVE-2021-41174 · CVE-2021-41244 · CVE-2021-43798 · CVE-2021-43813 · CVE-2021-43815 · CVE-2022-21673 · CVE-2022-21702 · CVE-2022-21703 · CVE-2022-21713

SUSE-SU-2022:4428-1: Security update for grafana

CVE-2021-36222 · CVE-2021-3711 · CVE-2021-41174 · CVE-2021-41244 · CVE-2021-43798 · CVE-2021-43813 · CVE-2021-43815 · CVE-2022-29170 · CVE-2022-31097 · CVE-2022-31107 · CVE-2022-35957 · CVE-2022-36062

SUSE-SU-2022:2134-1: Security update for SUSE Manager Client Tools

CVE-2021-36222 · CVE-2021-3711 · CVE-2021-39226 · CVE-2021-41174 · CVE-2021-41244 · CVE-2021-43798 · CVE-2021-43813 · CVE-2021-43815 · CVE-2022-21673 · CVE-2022-21698 · CVE-2022-21702 · CVE-2022-21703 · CVE-2022-21713

Source published
Nov 3, 2021, 6:00:12 PM (timezone not stated)
Source modified
Aug 4, 2024, 2:59:31 AM (timezone not stated)
Saved here
24 Nov 2026 03:36:51 UTC
Source terms
ENISA EUVD · source terms and attribution apply

Original source record · Cite this exact observation · Complete original publisher JSON

Source: euvd · ENISA EUVD · source terms and attribution apply. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.

EUVD CVSS 3.1 · 6.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:H/A:N

nvd · CVE-2021-41174

Published

Grafana is an open-source platform for monitoring and observability. In affected versions if an attacker is able to convince a victim to visit a URL referencing a vulnerable page, arbitrary JavaScript content may be executed within the context of the victim's browser. The user visiting the malicious link must be unauthenticated and the link must be for a page that contains the login button in the menu bar. The url has to be crafted to exploit AngularJS rendering and contain the interpolation binding for AngularJS expressions. AngularJS uses double curly braces for interpolation binding: {{ }} ex: {{constructor.constructor(‘alert(1)’)()}}. When the user follows the link and the page renders, the login button will contain the original link with a query parameter to force a redirect to the login page. The URL is not validated and the AngularJS rendering engine will execute the JavaScript expression contained in the URL. Users are advised to upgrade as soon as possible. If for some reason you cannot upgrade, you can use a reverse proxy or similar to block access to block the literal string {{ in the path.

Additional publisher context

NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.

Source analysis status: Modified

Weakness classifications: CWE-79

Original publisher date fields

published: 2021-11-03T18:15:08.413

lastModified: 2026-06-17T04:08:01.500

1 source CPE criteria · context only
  • cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*

The original JSON retains the logical configuration operators, exclusions and version bounds.

Source published
3 Nov 2021 18:15:08 UTC
Source modified
17 Jun 2026 04:08:01 UTC
Saved here
24 Oct 2026 19:17:25 UTC
Source terms
NIST NVD usage terms; underlying source attribution retained

Original source record · Cite this exact observation · Complete original publisher JSON

Source: nvd · NIST NVD usage terms; underlying source attribution retained. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.

CVSS 3.1 · [email protected] · Secondary · 6.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:H/A:N

CVSS 3.1 · [email protected] · Primary · 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

CVSS 2.0 · [email protected] · Primary · 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N

osv · GHSA-3j9m-hcv9-rpj8

Published

Today we are releasing Grafana 8.2.3. This patch release includes an important security fix for an issue that affects all Grafana versions from 8.0.0-beta1. [Grafana Cloud](https://grafana.com/cloud) instances have already been patched and an audit did not find any usage of this attack vector. [Grafana Enterprise](https://grafana.com/products/enterprise) customers were provided with updated binaries under embargo. ## CVE-2021-41174 XSS vulnerability on unauthenticated pages ### Summary CVSS Score: 6.9 Medium CVSS:[CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:H/A:N/E:U/RL:O/RC:R/CR:L/MAV:N/MAC:H/MPR:N/MUI:R/MS:C/MC:N/MI:H/MA:L](https://www.first.org/cvss/calculator/3.0#CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:H/A:N/E:U/RL:O/RC:R/CR:L/MAV:N/MAC:H/MPR:N/MUI:R/MS:C/MC:N/MI:H/MA:L) We received a security report to [email protected] on 2021-10-21 about a vulnerability in Grafana regarding the XSS vulnerability. It was later identified as affecting Grafana versions from 8.0.0-beta1 to 8.2.2. [CVE-2021-41174](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-41174) has been assigned to this vulnerability. ### Impact If an attacker is able to convince a victim to visit a URL referencing a vulnerable page, arbitrary JavaScript content may be executed within the context of the victim's browser. The user visiting the malicious link must be unauthenticated and the link must be for a page that contains the login button in the menu bar. There are two ways an unauthenticated user can open a page in Grafana that contains the login button: - Anonymous authentication is enabled. This means all pages in Grafana would be open for the attack. - The link is to an unauthenticated page. The following pages are vulnerable: - `/dashboard-solo/snapshot/*` - `/dashboard/snapshot/*` - `/invite/:code` The url has to be crafted to exploit AngularJS rendering and contain the interpolation binding for AngularJS expressions. AngularJS uses double curly braces for interpolation binding: {{ }} An example of an expression would be: `{{constructor.constructor(‘alert(1)’)()}}`. This can be included in the link URL like this: https://play.grafana.org/dashboard/snapshot/%7B%7Bconstructor.constructor('alert(1)')()%7D%7D?orgId=1 When the user follows the link and the page renders, the login button will contain the original link with a query parameter to force a redirect to the login page. The URL is not validated and the AngularJS rendering engine will execute the JavaScript expression contained in the URL. ### Attack audit We can not guarantee that the below will identify all attacks, so if you find something using the audit process described below, you should consider doing a full assessment. #### Through reverse proxy/load balancer logs To determine if your Grafana installation has been exploited for this vulnerability, search through your reverse proxy/load balancer access logs for instances where the path contains `{{` followed by something that would invoke JavaScript code. For example, this could be code that attempts to show a fake login page or to steal browser or session data. The [OWASP cheat sheet](https://cheatsheetseries.owasp.org/cheatsheets/XSS_Filter_Evasion_Cheat_Sheet.html) has several examples of XSS attacks. #### Through the Grafana Enterprise audit feature If you enabled “Log web requests” in your configuration with `router_logging = true`, look for requests where `path` contains `{{` followed by something that would invoke JavaScript code. ### Patched versions Release 8.2.3: - [Download Grafana 8.2.3](https://grafana.com/grafana/download/8.2.3) - [Release notes](https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-2-3/) ### Solutions and mitigations Download and install the appropriate patch for your version of Grafana. [Grafana Cloud](https://grafana.com/cloud) instances have already been patched, and [Grafana Enterprise](https://grafana.com/products/enterprise) customers were provided with updated binaries under embargo. ### Workaround If for some reason you cannot upgrade, you can use a reverse proxy or similar to block access to block the literal string `{{` in the path. Example of an Nginx rule to block the literal string `{{`: ``` location ~ \{\{ { deny all; } ``` ### Timeline and postmortem Here is a detailed timeline starting from when we originally learned of the issue. All times in UTC. * 2021-10-21 23:13: Security researcher sends the initial report about an XSS vulnerability. * 2021-10-21 23:13: Confirmed to be reproducible in at least versions 8.0.5 and 8.2.2. * 2021-10-22 02:02 MEDIUM severity declared. * 2021-10-22 09:22: it is discovered that Grafana instances with anonymous auth turned on are vulnerable. This includes https://play.grafana.org/ . * 2021-10-22 09:50: Anonymous access disabled for all instances on Grafana Cloud as a mitigation measure. * 2021-10-22 11:15: Workaround deployed on Grafana Cloud that blocks malicious requests. * 2021-10-22 12:35: Enabled anonymous access for instances on Grafana Cloud. * 2021-10-22 12:51: All instances protected by the workaround. From this point forward, Grafana Cloud is no longer affected. * 2021-10-22 14:05 Grafana Cloud instances updated with a fix. * 2021-10-22 19:23 :Determination that no weekend work is needed as the issue is of MEDIUM severity and the root cause has been identified. * 2021-10-25 14:13: Audit of Grafana Cloud concluded, no evidence of exploitation. * 2021-10-27 12:00: Grafana Enterprise images released to customers under embargo. * 2021-11-03 12:00: Public release. ## Reporting security issues If you think you have found a security vulnerability, please send a report to [[email protected]](mailto:[email protected]). This address can be used for all of Grafana Labs' open source and commercial products (including but not limited to Grafana, Tempo, Loki, k6, Tanka, and Grafana Cloud, Grafana Enterprise, and grafana.com). We only accept vulnerability reports at this address. We would prefer that you encrypt your message to us using our PGP key. The key fingerprint is: F988 7BEA 027A 049F AE8E 5CAA D125 8932 BE24 C5CA The key is available from [ keyserver.ubuntu.com]( https://keyserver.ubuntu.com/pks/lookup?op=get&fingerprint=on&search=0xD1258932BE24C5CA) by searching for [security@grafana]( https://keyserver.ubuntu.com/pks/lookup?search=security@grafana&fingerprint=on&op=index). ## Security announcements There is a Security [category](https://grafana.com/tags/security/) on the Grafana blog where we will post a summary, remediation, and mitigation details for any patch containing security fixes and you can subscribe to updates from our [Security Announcements RSS feed](https://grafana.com/tags/security/index.xml).

Source published
8 Nov 2021 18:13:19 UTC
Source modified
8 Jul 2026 06:29:58 UTC
Saved here
24 Oct 2026 13:17:17 UTC
Source terms
GitHub Advisory Database · CC-BY-4.0

Original source record · Cite this exact observation · Complete original publisher JSON

Source: osv · GitHub Advisory Database · CC-BY-4.0. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.

CVSS_V3 · CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:H/A:N

Publisher rating · MODERATE

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 25 Nov 16:42 UTC · 276 of 278 readable · 271 fully read · documentation 469/469 current