CVE-2022-21702
published medium CVSS 3.1 · 6.5Cross site scripting in Grafana proxy
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| grafana | — | grafana>= 2.0.0-beta1, < 7.5.15 · >= 8.0.0, < 8.3.5 | Affected | Not stated | GitHub_M |
| AlmaLinux | 8 | grafana | Advisory build | 7.5.15-3.el8 | ALSA-2022:7519 |
| Alpine Linux | edge | grafana | Fixed | 8.3.6-r0 | Package fix record |
| Oracle Linux | 8 | grafanaaarch64 | Advisory build | 0:7.5.15-3.el8 | ELSA-2022-7519 |
| Red Hat Enterprise Linux | RHEL-8 | grafanaaarch64 | Advisory build | 7.5.15-3.el8 | RHSA-2022:7519 |
| SUSE / openSUSE | SLE-15-SP4 | grafanaaarch64 | Advisory build | 8.3.10-150200.3.26.1 | SUSE-SU-2022:3765-1 |
| Rocky Linux | 8 | grafanaaarch64 | Listed in advisory | Not stated | RLSA-2022:7519 |
| AlmaLinux | 9 | grafana | Advisory build | 7.5.15-3.el9 | ALSA-2022:8057 |
Show 75 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.16 | grafana | Fixed | 8.3.6-r0 | Package fix record |
| Alpine Linux | v3.17 | grafana | Fixed | 8.3.6-r0 | Package fix record |
| Alpine Linux | v3.18 | grafana | Fixed | 8.3.6-r0 | Package fix record |
| Alpine Linux | v3.19 | grafana | Fixed | 8.3.6-r0 | Package fix record |
| Alpine Linux | v3.20 | grafana | Fixed | 8.3.6-r0 | Package fix record |
| Alpine Linux | v3.21 | grafana | Fixed | 8.3.6-r0 | Package fix record |
| Alpine Linux | v3.22 | grafana | Fixed | 8.3.6-r0 | Package fix record |
| Alpine Linux | v3.23 | grafana | Fixed | 8.3.6-r0 | Package fix record |
| Alpine Linux | v3.24 | grafana | Fixed | 8.3.6-r0 | Package fix record |
| Oracle Linux | 8 | grafanax86_64 | Advisory build | 0:7.5.15-3.el8 | ELSA-2022-7519 |
| Oracle Linux | 9 | grafanaaarch64 | Advisory build | 0:7.5.15-3.el9 | ELSA-2022-8057 |
| Oracle Linux | 9 | grafanax86_64 | Advisory build | 0:7.5.15-3.el9 | ELSA-2022-8057 |
| Red Hat Enterprise Linux | RHEL-8 | grafanappc64le | Advisory build | 7.5.15-3.el8 | RHSA-2022:7519 |
| Red Hat Enterprise Linux | RHEL-8 | grafanas390x | Advisory build | 7.5.15-3.el8 | RHSA-2022:7519 |
| Red Hat Enterprise Linux | RHEL-8 | grafanasrc | Advisory build | 7.5.15-3.el8 | RHSA-2022:7519 |
| Red Hat Enterprise Linux | RHEL-8 | grafanax86_64 | Advisory build | 7.5.15-3.el8 | RHSA-2022:7519 |
| Red Hat Enterprise Linux | RHEL-9 | grafanaaarch64 | Advisory build | 7.5.15-3.el9 | RHSA-2022:8057 |
| Red Hat Enterprise Linux | RHEL-9 | grafanappc64le | Advisory build | 7.5.15-3.el9 | RHSA-2022:8057 |
| Red Hat Enterprise Linux | RHEL-9 | grafanas390x | Advisory build | 7.5.15-3.el9 | RHSA-2022:8057 |
| Red Hat Enterprise Linux | RHEL-9 | grafanasrc | Advisory build | 7.5.15-3.el9 | RHSA-2022:8057 |
| Red Hat Enterprise Linux | RHEL-9 | grafanax86_64 | Advisory build | 7.5.15-3.el9 | RHSA-2022:8057 |
| SUSE / openSUSE | SLE-15-SP4 | grafanappc64le | Advisory build | 8.3.10-150200.3.26.1 | SUSE-SU-2022:3765-1 |
| SUSE / openSUSE | SLE-15-SP4 | grafanas390x | Advisory build | 8.3.10-150200.3.26.1 | SUSE-SU-2022:3765-1 |
| SUSE / openSUSE | SLE-15-SP4 | grafanax86_64 | Advisory build | 8.3.10-150200.3.26.1 | SUSE-SU-2022:3765-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | grafanaaarch64 | Advisory build | 8.3.10-150200.3.26.1 | SUSE-SU-2022:3765-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | grafanappc64le | Advisory build | 8.3.10-150200.3.26.1 | SUSE-SU-2022:3765-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | grafanas390x | Advisory build | 8.3.10-150200.3.26.1 | SUSE-SU-2022:3765-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | grafanax86_64 | Advisory build | 8.3.10-150200.3.26.1 | SUSE-SU-2022:3765-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | grafanaaarch64 | Advisory build | 8.3.10-150200.3.26.1 | SUSE-SU-2022:3765-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | grafanappc64le | Advisory build | 8.3.10-150200.3.26.1 | SUSE-SU-2022:3765-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | grafanas390x | Advisory build | 8.3.10-150200.3.26.1 | SUSE-SU-2022:3765-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | grafanax86_64 | Advisory build | 8.3.10-150200.3.26.1 | SUSE-SU-2022:3765-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | grafanaaarch64 | Advisory build | 8.3.5-1.1 | OPENSUSE-SU-2024:11836-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | grafanappc64le | Advisory build | 8.3.5-1.1 | OPENSUSE-SU-2024:11836-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | grafanas390x | Advisory build | 8.3.5-1.1 | OPENSUSE-SU-2024:11836-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | grafanax86_64 | Advisory build | 8.3.5-1.1 | OPENSUSE-SU-2024:11836-1 |
| Red Hat Enterprise Linux | RHEL-8 | grafana-debuginfoaarch64 | Advisory build | 7.5.15-3.el8 | RHSA-2022:7519 |
| Red Hat Enterprise Linux | RHEL-8 | grafana-debuginfoppc64le | Advisory build | 7.5.15-3.el8 | RHSA-2022:7519 |
| Red Hat Enterprise Linux | RHEL-8 | grafana-debuginfos390x | Advisory build | 7.5.15-3.el8 | RHSA-2022:7519 |
| Red Hat Enterprise Linux | RHEL-8 | grafana-debuginfox86_64 | Advisory build | 7.5.15-3.el8 | RHSA-2022:7519 |
| Red Hat Enterprise Linux | RHEL-9 | grafana-debuginfoaarch64 | Advisory build | 7.5.15-3.el9 | RHSA-2022:8057 |
| Red Hat Enterprise Linux | RHEL-9 | grafana-debuginfoppc64le | Advisory build | 7.5.15-3.el9 | RHSA-2022:8057 |
| Red Hat Enterprise Linux | RHEL-9 | grafana-debuginfos390x | Advisory build | 7.5.15-3.el9 | RHSA-2022:8057 |
| Red Hat Enterprise Linux | RHEL-9 | grafana-debuginfox86_64 | Advisory build | 7.5.15-3.el9 | RHSA-2022:8057 |
| 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 | 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 |
| Rocky Linux | 8 | grafanasrc | Listed in advisory | Not stated | RLSA-2022:7519 |
| Rocky Linux | 8 | grafanax86_64 | Listed in advisory | Not stated | RLSA-2022:7519 |
| Rocky Linux | 9 | grafanaaarch64 | Listed in advisory | Not stated | RLSA-2022:8057 |
| Rocky Linux | 9 | grafanappc64le | Listed in advisory | Not stated | RLSA-2022:8057 |
| Rocky Linux | 9 | grafanas390x | Listed in advisory | Not stated | RLSA-2022:8057 |
| Rocky Linux | 9 | grafanasrc | Listed in advisory | Not stated | RLSA-2022:8057 |
| Rocky Linux | 9 | grafanax86_64 | Listed in advisory | Not stated | RLSA-2022:8057 |
| Rocky Linux | 8 | grafana-debuginfoaarch64 | Listed in advisory | Not stated | RLSA-2022:7519 |
| Rocky Linux | 8 | grafana-debuginfox86_64 | Listed in advisory | Not stated | RLSA-2022:7519 |
| Rocky Linux | 9 | grafana-debuginfoaarch64 | Listed in advisory | Not stated | RLSA-2022:8057 |
| Rocky Linux | 9 | grafana-debuginfoppc64le | Listed in advisory | Not stated | RLSA-2022:8057 |
| Rocky Linux | 9 | grafana-debuginfos390x | Listed in advisory | Not stated | RLSA-2022:8057 |
| Rocky Linux | 9 | grafana-debuginfox86_64 | Listed in advisory | Not stated | RLSA-2022:8057 |
Description
Grafana is an open-source platform for monitoring and observability. In affected versions an attacker could serve HTML content thru the Grafana datasource or plugin proxy and trick a user to visit this HTML page using a specially crafted link and execute a Cross-site Scripting (XSS) attack. The attacker could either compromise an existing datasource for a specific Grafana instance or either set up its own public service and instruct anyone to set it up in their Grafana instance. To be impacted, all of the following must be applicable. For the data source proxy: A Grafana HTTP-based datasource configured with Server as Access Mode and a URL set, the attacker has to be in control of the HTTP server serving the URL of above datasource, and a specially crafted link pointing at the attacker controlled data source must be clicked on by an authenticated user. For the plugin proxy: A Grafana HTTP-based app plugin configured and enabled with a URL set, the attacker has to be in control of the HTTP server serving the URL of above app, and a specially crafted link pointing at the attacker controlled plugin must be clocked on by an authenticated user. For the backend plugin resource: An attacker must be able to navigate an authenticated user to a compromised plugin through a crafted link. Users are advised to update to a patched version. There are no known workarounds for this vulnerability.
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.5 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| grafana | grafana | >= 2.0.0-beta1, < 7.5.15 (affected)>= 8.0.0, < 8.3.5 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
7- https://github.com/grafana/grafana/commit/27726868b3d7c613844b55cd209ca93645c99b85
- https://github.com/grafana/grafana/security/advisories/GHSA-xc3p-28hw-q24g
- https://grafana.com/blog/2022/02/08/grafana-7.5.15-and-8.3.5-released-with-moderate-severity-security-fixes/
- FEDORA-2022-9dd03cab55 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2PFW6Q2LXXWTFRTMTRN4ZGADFRQPKJ3D/
- FEDORA-2022-c5383675d9 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/36GUEPA5TPSC57DZTPYPBL6T7UPQ2FRH/
- FEDORA-2022-83405f9d5b https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HLAQRRGNSO5MYCPAXGPH2OCSHOGHSQMQ/
- https://security.netapp.com/advisory/ntap-20220303-0005/
Provider assertions
3GitHub_M · cna
Cross site scripting in Grafana proxy
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- e99901d54baba4a6a81763e3b368f4aa2b0e3fc4736fdc32e538d3a4415e6639
- Ingested
- 23 Sep 2026, 07:58:18 UTC
- Source record
- Official CVE record