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.
CVE-2021-41174
“▲” beside the score: it is higher than NVD's CVSS score.
Score elevated to 9.0 because EPSS predicted 85% probability of exploitation within the next 30 days (99th percentile of EPSS-scored CVEs) when EchelonGraph scored this CVE. NVD baseline CVSS 6.9 retained for reference. Confidence: see factors.
- High exploitation likelihood — EPSS 85%
A fix is available — apply it.
- CVSS v3
- 6.9
- EG Score
- 9.0CRITICALhigh confidence
- EG Risk
- 65EG Risk 65/100
EG Risk is EchelonGraph's 0–100 priority score. It fuses impact severity (EG Severity, the CVSS base score, never the KEV-floored or EPSS-lifted EG Score) with real-world exploitation and automatability, under weights EchelonGraph set by hand, so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner.
How it’s computed (value × EchelonGraph’s weight)Severity69% × 45%Impact severity (EG Severity): CVSS 6.9 of 10. Never the KEV-floored or EPSS-lifted EG Score.Exploitation85% × 40%FIRST EPSS: the 30-day exploitation probability when EchelonGraph scored this CVE.Automatability0% × 15%CISA's BOD 26-04 default: no one has published Automatable for this CVE, and CISA treats it as “no” for a CVE not in KEV.SSVC (CISA's decision table, applied by EchelonGraph): Track at low or medium mission impact; Track* at high (mission-essential systems).Exploitation none (no CISA value, KEV listing or exploit code on record) · Automatable no (CISA's BOD 26-04 default) · Technical impact total (CISA's BOD 26-04 default). EchelonGraph holds no SSVC assessment of this CVE from CISA: none of these inputs is from Vulnrichment. EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE.Action: A fix is available. Apply it within your standard update timelines. - EPSS PROB
- 85%
- EPSS %ILE
- 99th
- KEV
- Not listed
What the EG score is made of (scorer v4.0: the three questions the 0–10 score mixes, published apart · methodology)
The EG score (9.0): severity, escalated by confirmed exploitation. This CVE's 9.0 is EPSS's lift toward 9.0 from its impact severity (EG Severity, CVSS 6.9 MEDIUM): a likelihood of exploitation, not impact.
- EG Severity
- 6.9 MEDIUMCVSS-B, impact only: no KEV listing, EPSS or EG-KEV tier raises it.NVD CVSS v3 · CVSS v3.0 or v3.1
- EG Likelihood
- 85% within 30 daysSource: FIRST EPSS (model v2026.06.15, score date 2026-10-22). FIRST's exploitation probability, not an EchelonGraph model.
- Confirmed exploitation
- None on record (CISA KEV, EG-KEV Tier 1)Reported apart from the likelihood: an observed fact, not a probability.
- EG Priority
- SSVC Track at medium mission impactTrack at low or medium mission impact; Track* at high (mission-essential systems).CISA BOD 26-04: 14 days if the affected system is publicly exposed; Fix on system upgrade if it is not.Each input and its source: the SSVC and BOD 26-04 blocks below.
SSVC (CISA's decision table, applied by EchelonGraph)Track at low or medium mission impact; Track* at high (mission-essential systems).
A fix is available. Apply it within your standard update timelines.
Exploitation none (no CISA value, KEV listing or exploit code on record) · Automatable no (CISA's BOD 26-04 default) · Technical impact total (CISA's BOD 26-04 default). EchelonGraph holds no SSVC assessment of this CVE from CISA: none of these inputs is from Vulnrichment. EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE. Mission impact is CISA's Mission & Well-being decision point, and only you can judge it. CISA's table makes it high when Mission Prevalence is Essential — the vulnerable component "directly provides capabilities that constitute at least one MEF for at least one entity" (MEF: mission essential function) — or when Public Well-Being Impact is Irreversible: "multiple fatalities are likely", the cyber-physical system "is likely lost or destroyed", "extreme or serious externalities" are imposed on other parties, or social systems such as elections or the financial grid "are destabilized and potentially collapse". CISA's decision table
BOD 26-04 (CISA's remediation timeline, Table 1)14 days if the affected system is publicly exposed; Fix on system upgrade if it is not.
In CISA KEV no (CISA's KEV catalog) · Automatable no (CISA's BOD 26-04 default) · Technical impact total (CISA's BOD 26-04 default). Where an input reads “CISA's BOD 26-04 default”, no one has published it for this CVE, and CISA's implementation guidance says: “If “Automatable” and “Technical Impact” information items about a CVE ID are not available and the CVE ID is not in the KEV Catalog, CISA will treat its values as “no” and “total,” respectively, until CISA or a third party provides metadata about the CVE ID. CISA will always provide the Vulnrichment data for a CVE ID listed in the KEV Catalog.” Whether your system is publicly exposed is yours to answer. BOD 26-04 binds US Federal Civilian Executive Branch agencies; for anyone else it is CISA's published timeline, a reference rather than an obligation. The directive · how EchelonGraph applies it
Published
November 3, 2021
Last Modified
November 21, 2024
Advisory Details (5)
Auto-updated Oct 15, 2026XSS vulnerability allowing arbitrary JavaScript execution · Advisory · grafana/grafana · GitHub
https://github.com/grafana/grafana/security/advisories/GHSA-3j9m-hcv9-rpj8commit fb85ed691290 (grafana/grafana)
Fix landed in grafana/grafana commit fb85ed691290 — awaiting tagged release
https://github.com/grafana/grafana/commit/fb85ed691290d211a5baa44d9a641ab137f0de88commit 3cb5214fa45e (grafana/grafana)
Fix landed in grafana/grafana commit 3cb5214fa45e — awaiting tagged release
https://github.com/grafana/grafana/commit/3cb5214fa45eb5a571fd70d6c6edf0d729983f82commit 31b78d51c693 (grafana/grafana)
Fix landed in grafana/grafana commit 31b78d51c693 — awaiting tagged release
https://github.com/grafana/grafana/commit/31b78d51c693d828720a5b285107a50e6024c912Affected Packages
(1 across 1 ecosystem)
npm(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| @grafana/data | — |
| — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 10× in last 7d / 23× in last 30d)
Each row is a time one of our pipelines fetched, updated or re-scored this CVE. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. An arrow marks a change the record states ("CVSS v3 → 9.1"); EPSS and GHSA rows show the values recorded at that time, not what changed (EPSS values are rounded; hover one for the exact figures). Most recent first.
Showing the most recent 80 of 84 refreshes on record for this CVE.
A repeat, a row identical to one the same pipeline wrote less than 10 seconds earlier, is not a separate refresh and is not counted. 20 repeat rows among the latest 100 are merged into the row they repeat. The 4 oldest rows on record are not shown and were not checked, so the counts can still include repeats.
- 2026-10-23 05:15 UTCEG score recompute
- 2026-10-22 16:29 UTCEPSS rescoreEPSS 85% · 99th percentile
- 2026-10-22 05:45 UTCEG score recompute
- 2026-10-21 16:28 UTCEPSS rescoreEPSS 85% · 99th percentile
- 2026-10-21 06:14 UTCEG score recompute
- 2026-10-20 06:47 UTCEG score recompute
- 2026-10-19 16:28 UTCEPSS rescoreEPSS 85% · 99th percentile
- 2026-10-19 07:18 UTCEG score recompute
- 2026-10-18 07:49 UTCEG score recompute
- 2026-10-17 08:20 UTCEG score recompute
- 2026-10-16 08:51 UTCEG score recompute
- 2026-10-15 16:28 UTCEPSS rescoreEPSS 85% · 99th percentile
- 2026-10-15 08:04 UTCEG score recompute
- 2026-10-14 16:29 UTCEPSS rescoreEPSS 85% · 99th percentile
- 2026-10-14 04:04 UTCEG score recompute
- 2026-10-12 19:09 UTCEG score recompute
- 2026-10-11 23:35 UTCEG score recompute
- 2026-10-10 19:56 UTCEPSS rescoreEPSS 85% · 99th percentile
- 2026-10-07 23:45 UTCEPSS rescoreEPSS 85% · 99th percentile
- 2026-10-02 16:23 UTCEPSS rescoreEPSS 85% · 99th percentile
- 2026-09-30 15:41 UTCEG score recompute
- 2026-09-25 13:15 UTCOSV refresh
- 2026-09-24 14:00 UTCEPSS rescoreEPSS 85% · 99th percentile
- 2026-09-22 14:44 UTCEPSS rescoreEPSS 85% · 99th percentile
- 2026-09-21 20:28 UTCEPSS rescoreEPSS 85% · 99th percentile
Show 55 moreShow fewer
- 2026-09-18 19:23 UTCEPSS rescoreEPSS 85% · 99th percentile
- 2026-09-17 19:23 UTCEPSS rescoreEPSS 85% · 99th percentile
- 2026-09-16 14:05 UTCEPSS rescoreEPSS 85% · 99th percentile
- 2026-09-06 13:45 UTCEPSS rescoreEPSS 85% · 99th percentile
- 2026-09-06 04:22 UTCOSV refresh
- 2026-09-05 15:25 UTCEPSS rescoreEPSS 85% · 99th percentile
- 2026-09-04 05:03 UTCEPSS rescoreEPSS 85% · 99th percentile
- 2026-08-30 19:14 UTCEPSS rescoreEPSS 85% · 99th percentile
- 2026-08-30 01:19 UTCEPSS rescoreEPSS 85% · 99th percentile
- 2026-08-28 21:37 UTCEPSS rescoreEPSS 85% · 99th percentile
- 2026-08-27 14:22 UTCEPSS rescoreEPSS 85% · 99th percentile
- 2026-08-26 14:43 UTCEPSS rescoreEPSS 85% · 99th percentile
- 2026-08-24 14:13 UTCEPSS rescoreEPSS 85% · 99th percentile
- 2026-08-23 00:16 UTCEPSS rescoreEPSS 85% · 99th percentile
- 2026-08-19 17:01 UTCEPSS rescoreEPSS 85% · 99th percentile
- 2026-08-19 15:32 UTCOSV refresh
- 2026-08-16 02:11 UTCEPSS rescoreEPSS 85% · 99th percentile
- 2026-08-15 01:27 UTCEPSS rescoreEPSS 85% · 99th percentile
- 2026-08-12 13:48 UTCEPSS rescoreEPSS 85% · 99th percentile
- 2026-08-07 16:24 UTCEPSS rescoreEPSS 85% · 99th percentile
- 2026-08-04 11:27 UTCOSV refresh
- 2026-08-03 10:33 UTCEPSS rescoreEPSS 85% · 99th percentile
- 2026-08-01 04:13 UTCEPSS rescoreEPSS 85% · 99th percentile
- 2026-07-30 16:25 UTCEPSS rescoreEPSS 85% · 99th percentile
- 2026-07-26 14:52 UTCEPSS rescoreEPSS 85% · 99th percentile
- 2026-07-24 14:15 UTCEPSS rescoreEPSS 85% · 99th percentile
- 2026-07-23 14:16 UTCEPSS rescoreEPSS 85% · 99th percentile
- 2026-07-23 02:04 UTCEG score recompute▲ 2.10
- 2026-07-22 22:50 UTCEG score recompute▼ 2.10
- 2026-07-22 14:06 UTCEPSS rescoreEPSS 85% · 99th percentile
- 2026-07-20 17:05 UTCEPSS rescoreEPSS 85% · 99th percentile
- 2026-07-18 08:59 UTCOSV refresh
- 2026-07-16 17:00 UTCEPSS rescoreEPSS 85% · 99th percentile
- 2026-07-13 06:11 UTCEPSS rescoreEPSS 85% · 99th percentile
- 2026-07-09 19:07 UTCEPSS rescoreEPSS 85% · 99th percentile
- 2026-07-04 06:29 UTCEPSS rescoreEPSS 85% · 99th percentile
- 2026-07-01 15:04 UTCEPSS rescoreEPSS 85% · 99th percentile
- 2026-06-30 08:00 UTCOSV refresh
- 2026-06-25 13:48 UTCEPSS rescoreEPSS 85% · 99th percentile
- 2026-06-23 21:31 UTCEPSS rescoreEPSS 85% · 99th percentile
- 2026-06-18 17:51 UTCEPSS rescoreEPSS 85% · 99th percentile
- 2026-06-17 17:51 UTCEPSS rescoreEPSS 85% · 99th percentile
- 2026-06-15 17:46 UTCEPSS rescoreEPSS 85% · 99th percentile
- 2026-06-14 23:15 UTCEPSS rescoreEPSS 88% · 99th percentile
- 2026-06-13 22:58 UTCEPSS rescoreEPSS 88% · 99th percentile
- 2026-06-12 23:10 UTCEPSS rescoreEPSS 88% · 99th percentile
- 2026-06-12 17:40 UTCOSV refresh
- 2026-06-10 22:16 UTCEPSS rescoreEPSS 88% · 99th percentile
- 2026-06-10 13:20 UTCEPSS rescoreEPSS 88% · 99th percentile
- 2026-06-08 14:15 UTCEPSS rescoreEPSS 88% · 99th percentile
- 2026-06-07 15:23 UTCEPSS rescoreEPSS 88% · 99th percentile
- 2026-06-05 22:45 UTCEPSS rescoreEPSS 88% · 99th percentile
- 2026-06-04 13:10 UTCEPSS rescoreEPSS 88% · 99th percentile
- 2026-06-02 20:11 UTCEPSS rescoreEPSS 88% · 99th percentile
- 2026-06-01 13:50 UTCEPSS rescoreEPSS 88% · 99th percentile
Public detection templates
(1 reference)A public Nuclei detection template is referenced for this CVE. A detection template checks whether a system is affected; it is not necessarily exploit code.
- Nucleihttp/cves/2021/CVE-2021-41174.yamlPublished Nov 6, 2021
Grafana 8.0.0 <= v.8.2.2 - Angularjs Rendering Cross-Site Scripting
Open source ↗
Related CVEs(same CWE)
Frequently asked(5)
What is CVE-2021-41174?
When was the CVE record for CVE-2021-41174 published?
Is CVE-2021-41174 actively exploited?
What is the CVSS score of CVE-2021-41174?
How do I remediate CVE-2021-41174?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2021-41174
Is Your Infrastructure Affected by CVE-2021-41174?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.