CVE-2021-41174
published medium CVSS 3.1 · 6.9XSS vulnerability allowing arbitrary JavaScript execution
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| grafana | — | grafana>= 8.0.0, < 8.2.3 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | SLE-15-SP4 | grafanaaarch64 | Advisory build | 8.5.13-150200.3.29.5 | SUSE-SU-2022:4428-1 |
| SUSE / openSUSE | SLE-15-SP4 | grafanappc64le | Advisory build | 8.5.13-150200.3.29.5 | SUSE-SU-2022:4428-1 |
| SUSE / openSUSE | SLE-15-SP4 | grafanas390x | Advisory build | 8.5.13-150200.3.29.5 | SUSE-SU-2022:4428-1 |
| SUSE / openSUSE | SLE-15-SP4 | grafanax86_64 | Advisory build | 8.5.13-150200.3.29.5 | SUSE-SU-2022:4428-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | grafanaaarch64 | Advisory build | 8.5.13-150200.3.29.5 | SUSE-SU-2022:4428-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | grafanappc64le | Advisory build | 8.5.13-150200.3.29.5 | SUSE-SU-2022:4428-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | grafanas390x | Advisory build | 8.5.13-150200.3.29.5 | SUSE-SU-2022:4428-1 |
Show 55 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Leap-15.3 | grafanax86_64 | Advisory build | 8.5.13-150200.3.29.5 | SUSE-SU-2022:4428-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | grafanaaarch64 | Advisory build | 8.5.13-150200.3.29.5 | SUSE-SU-2022:4428-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | grafanappc64le | Advisory build | 8.5.13-150200.3.29.5 | SUSE-SU-2022:4428-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | grafanas390x | Advisory build | 8.5.13-150200.3.29.5 | SUSE-SU-2022:4428-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | grafanax86_64 | Advisory build | 8.5.13-150200.3.29.5 | SUSE-SU-2022:4428-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | grafanaaarch64 | Advisory build | 8.3.4-1.1 | OPENSUSE-SU-2024:11816-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | grafanappc64le | Advisory build | 8.3.4-1.1 | OPENSUSE-SU-2024:11816-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | grafanas390x | Advisory build | 8.3.4-1.1 | OPENSUSE-SU-2024:11816-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | grafanax86_64 | Advisory build | 8.3.4-1.1 | OPENSUSE-SU-2024:11816-1 |
| SUSE / openSUSE | SLE-12-SP3 | golang-github-prometheus-node_exporteraarch64 | Advisory build | 1.3.0-1.15.3 | SUSE-SU-2022:2134-1 |
| SUSE / openSUSE | SLE-12-SP3 | golang-github-prometheus-node_exporterppc64le | Advisory build | 1.3.0-1.15.3 | SUSE-SU-2022:2134-1 |
| SUSE / openSUSE | SLE-12-SP3 | golang-github-prometheus-node_exporters390x | Advisory build | 1.3.0-1.15.3 | SUSE-SU-2022:2134-1 |
| SUSE / openSUSE | SLE-12-SP3 | golang-github-prometheus-node_exporterx86_64 | Advisory build | 1.3.0-1.15.3 | SUSE-SU-2022:2134-1 |
| SUSE / openSUSE | SLE-12-SP4 | golang-github-prometheus-node_exporteraarch64 | Advisory build | 1.3.0-1.15.3 | SUSE-SU-2022:2134-1 |
| SUSE / openSUSE | SLE-12-SP4 | golang-github-prometheus-node_exporterppc64le | Advisory build | 1.3.0-1.15.3 | SUSE-SU-2022:2134-1 |
| SUSE / openSUSE | SLE-12-SP4 | golang-github-prometheus-node_exporters390x | Advisory build | 1.3.0-1.15.3 | SUSE-SU-2022:2134-1 |
| SUSE / openSUSE | SLE-12-SP4 | golang-github-prometheus-node_exporterx86_64 | Advisory build | 1.3.0-1.15.3 | SUSE-SU-2022:2134-1 |
| SUSE / openSUSE | SLE-12-SP5 | golang-github-prometheus-node_exporteraarch64 | Advisory build | 1.3.0-1.15.3 | SUSE-SU-2022:2134-1 |
| SUSE / openSUSE | SLE-12-SP5 | golang-github-prometheus-node_exporterppc64le | Advisory build | 1.3.0-1.15.3 | SUSE-SU-2022:2134-1 |
| SUSE / openSUSE | SLE-12-SP5 | golang-github-prometheus-node_exporters390x | Advisory build | 1.3.0-1.15.3 | SUSE-SU-2022:2134-1 |
| SUSE / openSUSE | SLE-12-SP5 | golang-github-prometheus-node_exporterx86_64 | Advisory build | 1.3.0-1.15.3 | SUSE-SU-2022:2134-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | dracut-saltbootnoarch | Advisory build | 0.1.1665997480.587fa10-150000.1.41.1 | SUSE-SU-2022:4437-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | golang-github-boynux-squid_exporteraarch64 | Advisory build | 1.6-150000.1.9.1 | SUSE-SU-2022:4437-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | golang-github-boynux-squid_exporterppc64le | Advisory build | 1.6-150000.1.9.1 | SUSE-SU-2022:4437-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | golang-github-boynux-squid_exporters390x | Advisory build | 1.6-150000.1.9.1 | SUSE-SU-2022:4437-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | golang-github-boynux-squid_exporterx86_64 | Advisory build | 1.6-150000.1.9.1 | SUSE-SU-2022:4437-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | golang-github-prometheus-promuaarch64 | Advisory build | 0.13.0-150000.3.9.1 | SUSE-SU-2022:4437-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | golang-github-prometheus-promuppc64le | Advisory build | 0.13.0-150000.3.9.1 | SUSE-SU-2022:4437-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | golang-github-prometheus-promus390x | Advisory build | 0.13.0-150000.3.9.1 | SUSE-SU-2022:4437-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | golang-github-prometheus-promux86_64 | Advisory build | 0.13.0-150000.3.9.1 | SUSE-SU-2022:4437-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | prometheus-postgres_exporteraarch64 | Advisory build | 0.10.0-150000.1.3.1 | SUSE-SU-2022:1396-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | prometheus-postgres_exporterppc64le | Advisory build | 0.10.0-150000.1.3.1 | SUSE-SU-2022:1396-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | prometheus-postgres_exporters390x | Advisory build | 0.10.0-150000.1.3.1 | SUSE-SU-2022:1396-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | prometheus-postgres_exporterx86_64 | Advisory build | 0.10.0-150000.1.3.1 | SUSE-SU-2022:1396-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | python3-rhnlibnoarch | Advisory build | 4.2.6-150000.3.34.1 | SUSE-SU-2022:1396-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | spacecmdnoarch | Advisory build | 4.2.16-150000.3.77.1 | SUSE-SU-2022:1396-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | spacecmdnoarch | Advisory build | 4.3.16-150000.3.89.1 | SUSE-SU-2022:4437-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | dracut-saltbootnoarch | Advisory build | 0.1.1665997480.587fa10-150000.1.41.1 | SUSE-SU-2022:4437-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | golang-github-boynux-squid_exporteraarch64 | Advisory build | 1.6-150000.1.9.1 | SUSE-SU-2022:4437-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | golang-github-boynux-squid_exporterppc64le | Advisory build | 1.6-150000.1.9.1 | SUSE-SU-2022:4437-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | golang-github-boynux-squid_exporters390x | Advisory build | 1.6-150000.1.9.1 | SUSE-SU-2022:4437-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | golang-github-boynux-squid_exporterx86_64 | Advisory build | 1.6-150000.1.9.1 | SUSE-SU-2022:4437-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | golang-github-prometheus-promuaarch64 | Advisory build | 0.13.0-150000.3.9.1 | SUSE-SU-2022:4437-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | golang-github-prometheus-promuppc64le | Advisory build | 0.13.0-150000.3.9.1 | SUSE-SU-2022:4437-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | golang-github-prometheus-promus390x | Advisory build | 0.13.0-150000.3.9.1 | SUSE-SU-2022:4437-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | golang-github-prometheus-promux86_64 | Advisory build | 0.13.0-150000.3.9.1 | SUSE-SU-2022:4437-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | prometheus-blackbox_exporteraarch64 | Advisory build | 0.19.0-150000.1.14.3 | SUSE-SU-2022:4437-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | prometheus-blackbox_exporterppc64le | Advisory build | 0.19.0-150000.1.14.3 | SUSE-SU-2022:4437-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | prometheus-blackbox_exporters390x | Advisory build | 0.19.0-150000.1.14.3 | SUSE-SU-2022:4437-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | prometheus-blackbox_exporterx86_64 | Advisory build | 0.19.0-150000.1.14.3 | SUSE-SU-2022:4437-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | spacecmdnoarch | Advisory build | 4.3.16-150000.3.89.1 | SUSE-SU-2022:4437-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | wireaarch64 | Advisory build | 0.5.0-150000.1.9.3 | SUSE-SU-2022:4437-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | wireppc64le | Advisory build | 0.5.0-150000.1.9.3 | SUSE-SU-2022:4437-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | wires390x | Advisory build | 0.5.0-150000.1.9.3 | SUSE-SU-2022:4437-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | wirex86_64 | Advisory build | 0.5.0-150000.1.9.3 | SUSE-SU-2022:4437-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| grafana | grafana | >= 8.0.0, < 8.2.3 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
5- https://github.com/grafana/grafana/commit/31b78d51c693d828720a5b285107a50e6024c912
- https://github.com/grafana/grafana/commit/3cb5214fa45eb5a571fd70d6c6edf0d729983f82
- https://github.com/grafana/grafana/commit/fb85ed691290d211a5baa44d9a641ab137f0de88
- https://github.com/grafana/grafana/security/advisories/GHSA-3j9m-hcv9-rpj8
- https://security.netapp.com/advisory/ntap-20211125-0003/
Provider assertions
2GitHub_M · cna
XSS vulnerability allowing arbitrary JavaScript execution
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- f04200fdef8a1ff98aa3cd9810c00a25365615508ca36b61ac50b6565df3d93c
- Ingested
- 23 Sep 2026, 07:56:07 UTC
- Source record
- Official CVE record