Vulnerability identifier: #VU64397
Vulnerability risk: Low
CVSSv4.0: 1.2 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:U/U:Clear]
CVE-ID:
CWE-ID:
CWE-79
Exploitation vector: Network
Exploit availability: No
Vulnerable software:
Grafana
Web applications /
Other software
Vendor: Grafana Labs
Description
The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.
The vulnerability exists due to insufficient sanitization of user-supplied data in Grafana. A remote attacker can trick the victim to visit a specially crafted link, execute arbitrary HTML code, and perform a Cross-site scripting (XSS) attack.
Mitigation
Install updates from vendor's website.
Vulnerable software versions
Grafana: 2.0.0 beta1 - 2.0.2, 2.1.0 - 2.1.3, 2.5.0, 2.6.0 beta1 - 2.6.0, 3.0 beta1 - 3.0.4, 3.1.0 beta1 - 3.1.1, 4.0.0 beta1 - 4.0.2, 4.1.0 beta1 - 4.1.2, 4.2.0 beta1 - 4.2.0, 4.3.0 beta1 - 4.3.2, 4.4.0 - 4.4.3, 4.5.0 beta1 - 4.5.2, 4.6.0 beta1 - 4.6.5, 5.0.0 beta1 - 5.0.4, 5.1.0 beta1 - 5.1.5, 5.2.0 beta1 - 5.2.5, 5.3.0 beta1 - 5.3.4, 5.4.0 - 5.4.5, 6.0.0 - 6.0.2, 6.1.0 - 6.1.6, 6.2.0 - 6.2.5, 6.3.0 - 6.3.7, 6.4.0 - 6.4.5, 6.5 - 6.5.3, 6.6.0 - 6.6.2, 6.7.0 - 6.7.6, 7.0.0 - 7.0.6, 7.1.0 - 7.1.5, 7.2.0 - 7.2.3, 7.3.0 - 7.3.10, 7.4.0 - 7.4.5, 7.5.0 - 7.5.13, 8.0.0 - 8.0.7, 8.1.0 - 8.1.8, 8.2.0 - 8.2.7, 8.3.0 - 8.3.4
External links
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/
https://github.com/grafana/grafana/commit/27726868b3d7c613844b55cd209ca93645c99b85
https://bugzilla.redhat.com/show_bug.cgi?id=2050648
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.