CVE-2022-21702

Source
https://cve.org/CVERecord?id=CVE-2022-21702
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-21702.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-21702
Aliases
Downstream
Related
Published
2022-02-08T19:40:11Z
Modified
2026-04-02T07:46:35.689516Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:N CVSS Calculator
Summary
Cross site scripting in Grafana proxy
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/21xxx/CVE-2022-21702.json",
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-79"
    ]
}
References

Affected packages

Git / github.com/grafana/grafana

Affected ranges

Type
GIT
Repo
https://github.com/grafana/grafana
Events
Database specific
{
    "versions": [
        {
            "introduced": "2.0.0-beta1"
        },
        {
            "fixed": "7.5.15"
        }
    ]
}
Type
GIT
Repo
https://github.com/grafana/grafana
Events
Database specific
{
    "versions": [
        {
            "introduced": "8.0.0"
        },
        {
            "fixed": "8.3.5"
        }
    ]
}

Affected versions

1.*
1.0.0
6.*
6.1.6
7.*
7.0.0
7.2.1
Other
dupa
list
omgtest
pull
test
vtest-new-release-pipeline
packages@6.*
packages@6.3.0-alpha.33
packages@6.3.0-alpha.36
packages@6.3.0-beta.1
pkg/promlib/v0.*
pkg/promlib/v0.0.1
pkg/promlib/v0.0.10
pkg/promlib/v0.0.2
pkg/promlib/v0.0.3
pkg/promlib/v0.0.4
pkg/promlib/v0.0.5
pkg/promlib/v0.0.6
pkg/promlib/v0.0.7
pkg/promlib/v0.0.8
pkg/promlib/v0.0.9
pkg/util/xorm/v0.*
pkg/util/xorm/v0.0.1
rrc_fast_12.*
rrc_fast_12.2.0-17261372546.patch1
rrc_steady_12.*
rrc_steady_12.2.0-17245430286.patch1
rrc_steady_12.4.0-19174562009.patch4
rrc_steady_13.*
rrc_steady_13.0.0-22843068776.patch2
v0.*
v0.0.0-cloud
v0.0.0-kmdagger1
v0.0.0-kmdagger2
v0.0.0-kmdagger3
v0.0.0-test
v0.0.0-test.2
v0.0.0-testrgm3
v0.0.0-testrgm4
v0.0.0-testrgm6
v0.0.1-test
v0.0.85-test
v10.*
v10.0.0
v10.0.0-preview
v10.0.1
v10.0.10
v10.0.11
v10.0.12
v10.0.13
v10.0.2
v10.0.3
v10.0.4
v10.0.5
v10.0.6
v10.0.8
v10.0.9
v10.1.0
v10.1.1
v10.1.10
v10.1.2
v10.1.4
v10.1.5
v10.1.6
v10.1.7
v10.1.8
v10.1.9
v10.2.0
v10.2.1
v10.2.2
v10.2.3
v10.2.4
v10.2.5
v10.2.6
v10.2.7
v10.2.8
v10.2.9
v10.3.0
v10.3.1
v10.3.10
v10.3.11
v10.3.12
v10.3.3
v10.3.4
v10.3.5
v10.3.6
v10.3.7
v10.3.8
v10.3.9
v10.4.0
v10.4.1
v10.4.10
v10.4.11
v10.4.12
v10.4.13
v10.4.14
v10.4.15
v10.4.16
v10.4.17
v10.4.17+security-01
v10.4.18
v10.4.18+security-01
v10.4.19
v10.4.19+security-01
v10.4.2
v10.4.3
v10.4.4
v10.4.5
v10.4.6
v10.4.7
v10.4.8
v10.4.9
v11.*
v11.0.0
v11.0.0-preview
v11.0.1
v11.0.10
v11.0.11
v11.0.2
v11.0.3
v11.0.4
v11.0.5
v11.0.5+security-01
v11.0.6
v11.0.6+security-01
v11.0.7
v11.0.8
v11.0.9
v11.1.0
v11.1.1
v11.1.10
v11.1.11
v11.1.12
v11.1.13
v11.1.2
v11.1.3
v11.1.4
v11.1.5
v11.1.6
v11.1.6+security-01
v11.1.7
v11.1.7+security-01
v11.1.8
v11.1.9
v11.1.999-zserge-test
v11.2.0
v11.2.1
v11.2.1+security-01
v11.2.10
v11.2.10+security-01
v11.2.2
v11.2.2+security-01
v11.2.3
v11.2.3+security-01
v11.2.4
v11.2.5
v11.2.6
v11.2.7
v11.2.8
v11.2.8+security-01
v11.2.9
v11.2.9+security-01
v11.3.0
v11.3.0+security-01
v11.3.1
v11.3.2
v11.3.3
v11.3.4
v11.3.5
v11.3.5+security-01
v11.3.6
v11.3.6+security-01
v11.3.7
v11.3.7+security-01
v11.3.8
v11.3.8+security-01
v11.3.9
v11.4.0
v11.4.1
v11.4.2
v11.4.3
v11.4.3+security-01
v11.4.4
v11.4.4+security-01
v11.4.5
v11.4.5+security-01
v11.4.6
v11.4.6+security-01
v11.4.7
v11.4.8
v11.5.0
v11.5.1
v11.5.10
v11.5.2
v11.5.3
v11.5.3+security-01
v11.5.4
v11.5.4+security-01
v11.5.5
v11.5.5+security-01
v11.5.6
v11.5.6+security-01
v11.5.7
v11.5.8
v11.5.9
v11.6.0
v11.6.0+security-01
v11.6.1
v11.6.1+security-01
v11.6.10
v11.6.10+security-01
v11.6.11
v11.6.12
v11.6.13
v11.6.14
v11.6.14+security-01
v11.6.2
v11.6.2+security-01
v11.6.3
v11.6.3+security-01
v11.6.4
v11.6.5
v11.6.6
v11.6.7
v11.6.8
v11.6.9
v11.6.9+security-01
v12.*
v12.0.0
v12.0.0+security-01
v12.0.1
v12.0.1+security-01
v12.0.10
v12.0.2
v12.0.2+security-01
v12.0.3
v12.0.4
v12.0.5
v12.0.6
v12.0.6+security-01
v12.0.7
v12.0.8
v12.0.8+security-01
v12.0.9
v12.1.0
v12.1.1
v12.1.10
v12.1.10+security-01
v12.1.2
v12.1.3
v12.1.3+security-01
v12.1.4
v12.1.5
v12.1.5+security-01
v12.1.6
v12.1.6+security-01
v12.1.7
v12.1.8
v12.1.9
v12.2.0
v12.2.1
v12.2.1+security-01
v12.2.2
v12.2.3
v12.2.3+security-01
v12.2.4
v12.2.4+security-01
v12.2.5
v12.2.6
v12.2.7
v12.2.8
v12.2.8+security-01
v12.3.0
v12.3.1
v12.3.1+security-01
v12.3.2
v12.3.2+security-01
v12.3.3
v12.3.4
v12.3.5
v12.3.6
v12.3.6+security-01
v12.4.0
v12.4.1
v12.4.2
v2.*
v2.0.0-beta1
v2.0.0-beta3
v2.0.1
v2.0.2
v2.1.0
v2.1.1
v2.1.2
v2.1.3
v2.5.0
v2.6.0
v2.6.0-beta1
v3.*
v3.0-beta1
v3.0-beta2
v3.0-beta3
v3.0-beta4
v3.0-beta5
v3.0.0-beta6
v3.0.0-beta7
v3.0.1
v3.0.2
v3.0.3
v3.0.4
v3.1.0
v3.1.0-beta1
v3.1.1
v3.2.1-test
v4.*
v4.0.0
v4.0.0-beta1
v4.0.0-beta2
v4.0.1
v4.0.2
v4.1.0
v4.1.0-beta1
v4.1.1
v4.1.2
v4.2.0
v4.2.0-beta1
v4.3.0
v4.3.0-beta1
v4.3.1
v4.3.2
v4.4.0
v4.4.1
v4.4.2
v4.4.3
v4.5.0
v4.5.0-beta1
v4.5.1
v4.5.2
v4.6.0
v4.6.0-beta1
v4.6.0-beta2
v4.6.0-beta3
v4.6.1
v4.6.2
v4.6.3
v4.6.4
v4.6.5
v5.*
v5.,2.4
v5.0.0
v5.0.0-beta1
v5.0.0-beta2
v5.0.0-beta3
v5.0.0-beta4
v5.0.0-beta5
v5.0.1
v5.0.2
v5.0.3
v5.0.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.2.1
v9.2.10
v9.2.13
v9.2.15
v9.2.17
v9.2.18
v9.2.19
v9.2.2
v9.2.20
v9.2.3
v9.2.4
v9.2.5
v9.2.6
v9.2.7
v9.2.8
v9.3.0
v9.3.0-beta1
v9.3.1
v9.3.11
v9.3.13
v9.3.14
v9.3.15
v9.3.16
v9.3.2
v9.3.4
v9.3.6
v9.3.8
v9.4.0
v9.4.0-beta1
v9.4.1
v9.4.10
v9.4.12
v9.4.13
v9.4.14
v9.4.15
v9.4.17
v9.4.2
v9.4.3
v9.4.7
v9.4.9
v9.5.0
v9.5.1
v9.5.10
v9.5.12
v9.5.13
v9.5.14
v9.5.15
v9.5.16
v9.5.17
v9.5.18
v9.5.19
v9.5.2
v9.5.20
v9.5.21
v9.5.3
v9.5.5
v9.5.6
v9.5.7
v9.5.8
v9.5.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-21702.json"