Home / grafana / grafana / CVE-2023-22462
CVE-2023-22462: is it exploited, and which versions of grafana are affected and fixed?
CVE-2023-22462 is a cross-site scripting (XSS) vulnerability in grafana. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 19:09 UTC). Affected: github.com/grafana/grafana from 9.2.0 before 9.2.10 and github.com/grafana/grafana from 9.3.0 before 9.3.4 (GitHub advisory GHSA-7rqg-hjwc-6mjf). Fixed in 9.2.10 and 9.3.4 (GitHub advisory GHSA-7rqg-hjwc-6mjf). Severity: Medium (6.4, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 19:09 UTC, CVE record November 19, 2026, 07:13 UTC and NVD November 19, 2026, 07:41 UTC.
What is CVE-2023-22462?
Stored XSS in Grafana Text plugin
Grafana is an open-source platform for monitoring and observability. On 2023-01-01 during an internal audit of Grafana, a member of the security team found a stored XSS vulnerability affecting the core plugin "Text". The stored XSS vulnerability requires several user interactions in order to be fully exploited. The vulnerability was possible due to React's render cycle that will pass though the unsanitized HTML code, but in the next cycle the HTML is cleaned up and saved in Grafana's database. An attacker needs to have the Editor role in order to change a Text panel to include JavaScript. Another user needs to edit the same Text panel, and click on "Markdown" or "HTML" for the code to be executed. This means that vertical privilege escalation is possible, where a user with Editor role can change to a known password for a user having Admin role if the user with Admin role executes malicious JavaScript viewing a dashboard. This issue has been patched in versions 9.2.10 and 9.3.4.
From the CVE record by GitHub_M, last updated January 28, 2026, 04:55 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| grafana | grafana | >= 9.2, < 9.2.10 >= 9.3, < 9.3.4 |
As the CVE record by GitHub_M states it, last updated January 28, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Go | github.com/grafana/grafana | >= 9.2.0, < 9.2.10 | 9.2.10 | GHSA-7rqg-hjwc-6mjf |
| Go | github.com/grafana/grafana | >= 9.3.0, < 9.3.4 | 9.3.4 | GHSA-7rqg-hjwc-6mjf |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated March 2, 2023. Summary: Grafana vulnerable to Stored Cross-site Scripting in Text plugin.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| grafana | grafana | from 9.2.0 before 9.2.10 | application |
| grafana | grafana | from 9.3.0 before 9.3.4 | application |
NVD analysis (status Modified), last modified June 17, 2026, 05:35 UTC.
How severe is CVE-2023-22462?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.4 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N | GitHub_M |
| Medium 5.4 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2023-22462 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, January 27, 2026)
- EPSS
- 1.56% probability of exploitation activity in the next 30 days, percentile 76.1 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
Where are the vendor advisories and references?
- https://github.com/grafana/grafana/security/advisories/GHSA-7rqg-hjwc-6mjf x_refsource_CONFIRM
- https://github.com/grafana/grafana/commit/db83d5f398caffe35c5846cfa7727d1a2a414165 x_refsource_MISC
- https://grafana.com/blog/2023/02/28/grafana-security-release-new-versions-with-security-fixes-for-cve-2023-0594-cve-2023-0507-and-cve-2023-22462/ x_refsource_MISC
- https://security.netapp.com/advisory/ntap-20230413-0004/
When was it published, and where is the official record?
- Reserved
- December 29, 2022
- Published
- March 2, 2023, 00:06 UTC
- CVE record updated
- January 28, 2026, 04:55 UTC by GitHub_M
- NVD
- Modified, last modified June 17, 2026, 05:35 UTC
- Last checked
- CVE list November 19, 2026, 07:13 UTC; NVD November 19, 2026, 07:41 UTC; KEV December 3, 2026, 19:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect grafana?
- Dec 7, 2021CVE-2021-43798 grafana: path traversal (reading or writing files outside the intended folder) exploited
- Oct 5, 2021CVE-2021-39226 grafana: authentication bypass (improper authentication) exploited
- Mar 27, 2026CVE-2026-27879 Grafana: denial of service (uncontrolled resource consumption)
- Mar 27, 2026CVE-2026-28375 Grafana: denial of service (uncontrolled resource consumption)
- Mar 27, 2026CVE-2026-27876 Grafana: code injection (remote code execution)
- Mar 27, 2026CVE-2026-27880 Grafana: out-of-bounds read
- Mar 27, 2026CVE-2026-27877 Grafana: sensitive data stored in clear text
- Feb 25, 2026CVE-2026-21725 Grafana: time-of-check time-of-use race condition
Questions about CVE-2023-22462
Is CVE-2023-22462 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 19:09 UTC. FIRST's EPSS gives it a 1.56% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of grafana are affected by CVE-2023-22462?
github.com/grafana/grafana from 9.2.0 before 9.2.10 and github.com/grafana/grafana from 9.3.0 before 9.3.4, per the GitHub advisory GHSA-7rqg-hjwc-6mjf. The tables above give every range the sources list.
Which version fixes CVE-2023-22462?
9.2.10 and 9.3.4, per the GitHub advisory GHSA-7rqg-hjwc-6mjf. Check the vendor's advisory before you rely on it.
How severe is CVE-2023-22462?
Medium (6.4, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2023-22462?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.