{"id":"EUVD-2021-2285","revision":"bbfe6172e5f443cdbfd1187e67ab1377","records":[{"revision":"bbfe6172e5f443cdbfd1187e67ab1377","observedAt":"2026-11-22T02:49:13.183+00:00","statement":{"source":"euvd","id":"EUVD-2021-2285","aliases":["CVE-2021-41174","GHSA-3j9m-hcv9-rpj8"],"title":"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 cont…","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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:H/A:N","score":6.9,"severity":null}],"references":["https://github.com/grafana/grafana/security/advisories/GHSA-3j9m-hcv9-rpj8","https://github.com/grafana/grafana/commit/31b78d51c693d828720a5b285107a50e6024c912","https://github.com/grafana/grafana/commit/3cb5214fa45eb5a571fd70d6c6edf0d729983f82","https://github.com/grafana/grafana/commit/fb85ed691290d211a5baa44d9a641ab137f0de88","https://security.netapp.com/advisory/ntap-20211125-0003/"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-2285","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Nov 3, 2021, 6:00:12 PM","dateUpdated":"Aug 4, 2024, 2:59:31 AM"},"relatedAdvisories":[{"id":"SUSE-SU-2024:0191-1","title":"Security Beta update for SUSE Manager Client Tools","vulnerabilityIds":["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"]},{"id":"SUSE-SU-2022:4437-1","title":"Security update for SUSE Manager Client Tools","vulnerabilityIds":["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"]},{"id":"SUSE-SU-2022:3676-1","title":"Security update for grafana","vulnerabilityIds":["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"]},{"id":"SUSE-FU-2022:1419-1","title":"Feature update for grafana","vulnerabilityIds":["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"]},{"id":"WID-SEC-W-2022-0402","title":"Grafana: Schwachstelle ermöglicht Cross-Site Scripting","vulnerabilityIds":["CVE-2021-41174"]},{"id":"SUSE-SU-2022:4439-1","title":"Security update for SUSE Manager Client Tools","vulnerabilityIds":["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"]},{"id":"openSUSE-SU-2024:11816-1","title":"grafana-8.3.4-1.1 on GA media","vulnerabilityIds":["CVE-2021-36222","CVE-2021-3711","CVE-2021-41174","CVE-2021-41244","CVE-2021-43798","CVE-2022-21673"]},{"id":"SUSE-SU-2024:0196-1","title":"Security Beta update for SUSE Manager Client Tools and Salt","vulnerabilityIds":["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"]},{"id":"SUSE-SU-2022:1396-1","title":"Security update for SUSE Manager Client Tools","vulnerabilityIds":["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"]},{"id":"SUSE-SU-2022:4428-1","title":"Security update for grafana","vulnerabilityIds":["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"]},{"id":"SUSE-SU-2022:2134-1","title":"Security update for SUSE Manager Client Tools","vulnerabilityIds":["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"]}],"note":"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."},"key":"euvd:EUVD-2021-2285","identifiers":["EUVD-2021-2285","CVE-2021-41174","GHSA-3j9m-hcv9-rpj8"]},"retained":false,"historicalAffected":[]}],"coverage":[]}