CVE-2021-41174
Detail
Modified After Enrichment
This CVE record has been updated after NVD enrichment efforts were completed. Enrichment data supplied by the NVD may require amendment due to these changes.
Description
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.
Metrics
NVD enrichment efforts reference publicly available information to associate
vector strings. CVSS information contributed by other sources is also
displayed.
CVSS 4.0 Severity and Vector Strings:
NVD assessment
not yet provided.
CVSS 3.x Severity and Vector Strings:
Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:H/A:N
CVSS 2.0 Severity and Vector Strings:
Vector:
(AV:N/AC:M/Au:N/C:N/I:P/A:N)
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving NIST webspace.
We have provided these links to other web sites because they
may have information that would be of interest to you. No
inferences should be drawn on account of other sites being
referenced, or not, from this page. There may be other web
sites that are more appropriate for your purpose. NIST does
not necessarily endorse the views expressed, or concur with
the facts presented on these sites. Further, NIST does not
endorse any commercial products that may be mentioned on
these sites. Please address comments about this page to [email protected].
| URL |
Source(s) |
Tag(s) |
|
https://github.com/grafana/grafana/commit/31b78d51c693d828720a5b285107a50e6024c912
|
CVE, GitHub, Inc. |
Patch
Third Party Advisory
|
|
https://github.com/grafana/grafana/commit/3cb5214fa45eb5a571fd70d6c6edf0d729983f82
|
CVE, GitHub, Inc. |
Patch
Third Party Advisory
|
|
https://github.com/grafana/grafana/commit/fb85ed691290d211a5baa44d9a641ab137f0de88
|
CVE, GitHub, Inc. |
Patch
Third Party Advisory
|
|
https://github.com/grafana/grafana/security/advisories/GHSA-3j9m-hcv9-rpj8
|
CVE, GitHub, Inc. |
Third Party Advisory
|
|
https://security.netapp.com/advisory/ntap-20211125-0003/
|
CVE, GitHub, Inc. |
Third Party Advisory
|
Change History
6 change records found show changes
CVE Modified by GitHub, Inc.
6/17/2026 12:08:01 AM
| Action |
Type |
Old Value |
New Value |
| Added |
Affected |
[{"vendor":"grafana","product":"grafana","versions":[{"version":">= 8.0.0, < 8.2.3","status":"affected"}]}]
|
CVE Modified by CVE
11/21/2024 1:25:40 AM
| Action |
Type |
Old Value |
New Value |
| Added |
Reference |
https://github.com/grafana/grafana/commit/31b78d51c693d828720a5b285107a50e6024c912
|
| Added |
Reference |
https://github.com/grafana/grafana/commit/3cb5214fa45eb5a571fd70d6c6edf0d729983f82
|
| Added |
Reference |
https://github.com/grafana/grafana/commit/fb85ed691290d211a5baa44d9a641ab137f0de88
|
| Added |
Reference |
https://github.com/grafana/grafana/security/advisories/GHSA-3j9m-hcv9-rpj8
|
| Added |
Reference |
https://security.netapp.com/advisory/ntap-20211125-0003/
|
CVE Modified by GitHub, Inc.
5/14/2024 5:28:17 AM
| Action |
Type |
Old Value |
New Value |
Modified Analysis by NIST
11/29/2021 12:13:22 PM
| Action |
Type |
Old Value |
New Value |
| Changed |
Reference Type |
https://security.netapp.com/advisory/ntap-20211125-0003/ No Types Assigned
|
https://security.netapp.com/advisory/ntap-20211125-0003/ Third Party Advisory
|
CVE Modified by GitHub, Inc.
11/25/2021 2:15:07 AM
| Action |
Type |
Old Value |
New Value |
| Changed |
Description |
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.
|
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.
|
| Added |
Reference |
https://security.netapp.com/advisory/ntap-20211125-0003/ [No Types Assigned]
|
Initial Analysis by NIST
11/05/2021 12:11:11 PM
| Action |
Type |
Old Value |
New Value |
| Added |
CVSS V3.1 |
NIST AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
|
| Added |
CVSS V2 |
NIST (AV:N/AC:M/Au:N/C:N/I:P/A:N)
|
| Added |
CWE |
NIST CWE-79
|
| Added |
CPE Configuration |
OR
*cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:* versions from (including) 8.0.0 up to (excluding) 8.2.3
|
| Changed |
Reference Type |
https://github.com/grafana/grafana/commit/31b78d51c693d828720a5b285107a50e6024c912 No Types Assigned
|
https://github.com/grafana/grafana/commit/31b78d51c693d828720a5b285107a50e6024c912 Patch, Third Party Advisory
|
| Changed |
Reference Type |
https://github.com/grafana/grafana/commit/3cb5214fa45eb5a571fd70d6c6edf0d729983f82 No Types Assigned
|
https://github.com/grafana/grafana/commit/3cb5214fa45eb5a571fd70d6c6edf0d729983f82 Patch, Third Party Advisory
|
| Changed |
Reference Type |
https://github.com/grafana/grafana/commit/fb85ed691290d211a5baa44d9a641ab137f0de88 No Types Assigned
|
https://github.com/grafana/grafana/commit/fb85ed691290d211a5baa44d9a641ab137f0de88 Patch, Third Party Advisory
|
| Changed |
Reference Type |
https://github.com/grafana/grafana/security/advisories/GHSA-3j9m-hcv9-rpj8 No Types Assigned
|
https://github.com/grafana/grafana/security/advisories/GHSA-3j9m-hcv9-rpj8 Third Party Advisory
|
| Added |
CVSS V2 Metadata |
Victim must voluntarily interact with attack mechanism
|
Quick Info
CVE Dictionary Entry: CVE-2021-41174 NVD
Published Date: 11/03/2021 NVD
Last Modified: 06/17/2026
Source: GitHub, Inc.
|