# CVE-2023-0507: CVE-2023-0507

Status: published. Published: 2023-03-01. Updated: 2026-11-03.

Grafana is an open-source platform for monitoring and observability. 

Starting with the 8.1 branch, Grafana had a stored XSS vulnerability affecting the core plugin GeoMap. 

The stored XSS vulnerability was possible due to map attributions weren't properly sanitized and allowed arbitrary JavaScript to be executed in the context of the currently authorized user of the Grafana instance. 

An attacker needs to have the Editor role in order to change a panel to include a map attribution containing JavaScript. 

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. 

Users may upgrade to version 8.5.21, 9.2.13 and 9.3.8 to receive a fix.

## Remediation

No remediation reported in collected sources

## Affected products and versions

- Grafana / Grafana: ≥ 8.1.0; < 8.5.21 (affected, semver); ≥ 9.0.0; < 9.2.13 (affected, semver); ≥ 9.3.0; < 9.3.8 (affected, semver). Source: CNA: GRAFANA
- Grafana / Grafana Enterprise: ≥ 8.1.0; < 8.5.21 (affected, semver); ≥ 9.0.0; < 9.2.13 (affected, semver); ≥ 9.3.0; < 9.3.8 (affected, semver). Source: CNA: GRAFANA

## NVD configuration conditions

Affected CPE matches depend on the following AND/OR and negation conditions:

```json
[
  {
    "negate": false,
    "nodes": [
      {
        "cpeMatch": [
          {
            "criteria": "cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*",
            "versionEndExcluding": "8.5.21",
            "versionStartIncluding": "8.1.0",
            "vulnerable": true
          },
          {
            "criteria": "cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*",
            "versionEndExcluding": "9.2.13",
            "versionStartIncluding": "9.2.0",
            "vulnerable": true
          },
          {
            "criteria": "cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*",
            "versionEndExcluding": "9.3.8",
            "versionStartIncluding": "9.3.0",
            "vulnerable": true
          }
        ],
        "negate": false,
        "operator": "OR"
      }
    ],
    "operator": "OR"
  }
]
```

## Severity and prioritization

- CVSS 3.1: 7.3 (high); CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N; source: CNA: GRAFANA

- CVSS 3.1: 5.4 (medium); CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N; source: NVD: nvd@nist.gov

- CVSS 3.1: 7.3 (high); CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N; source: NVD: security@grafana.com

- CISA KEV: No listing in collected sources

- EPSS: 15.46% as of 2026-11-03; percentile 96.81%

- SSVC: exploitation none; automatable no; technical impact total; source ADP: CISA-ADP

- Weaknesses: CWE-79

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://grafana.com/security/security-advisories/cve-2023-0507/ (CNA: GRAFANA)

- https://security.netapp.com/advisory/ntap-20230413-0001/ (CNA: GRAFANA)

- https://grafana.com/security/security-advisories/cve-2023-0507/ (ADP: CVE; x_transferred)

- https://security.netapp.com/advisory/ntap-20230413-0001/ (ADP: CVE; x_transferred)

- https://grafana.com/security/security-advisories/cve-2023-0507/ (security@grafana.com; Vendor Advisory)

- https://security.netapp.com/advisory/ntap-20230413-0001/ (security@grafana.com)

- https://grafana.com/security/security-advisories/cve-2023-0507/ (af854a3a-2127-422b-91ae-364da2661108; Vendor Advisory)

- https://security.netapp.com/advisory/ntap-20230413-0001/ (af854a3a-2127-422b-91ae-364da2661108)

## Provenance

- CNA: GRAFANA: https://www.cve.org/CVERecord?id=CVE-2023-0507; retrieved 2026-11-04; source updated 2026-11-03

- NVD: https://nvd.nist.gov/vuln/detail/CVE-2023-0507; retrieved 2026-11-04; source updated 2026-11-03

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2023-0507; retrieved 2026-11-03; source updated Not reported

Revision: 2d54487f4c5f4c6f805125afb73b2f4e8d19c8ccda2e1fbe4ec9ef51827cdbca

Canonical: https://y2.dev/cve/CVE-2023-0507

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.