{
  "id": "CVE-2025-4123",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-4123",
  "published_at": "2025-05-22T07:44:09.491Z",
  "vendor": "Grafana",
  "product": "Grafana",
  "cvss": {
    "score": 7.6,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2025-05-22T09:58:31Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 0.1,
    "source": "nuclei",
    "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-4123.yaml"
  },
  "poc_repo_count": 3,
  "exploit_count": 2,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "A cross-site scripting (XSS) vulnerability exists in Grafana caused by combining a client path traversal and open redirect. This allows attackers to redirect users to a website that hosts a frontend plugin that will execute arbitrary JavaScript. This vulnerability does not require editor permissions and if anonymous access is enabled, the XSS will work. If the Grafana Image Renderer plugin is installed, it is possible to exploit the open redirect to achieve a full read SSRF.\n\nThe default Content-Security-Policy (CSP) in Grafana will block the XSS though the `connect-src` directive.",
  "cwe": "CWE-79",
  "cpes": [
    "cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*",
    "cpe:2.3:a:grafana:grafana:10.4.18:-:*:*:*:*:*:*",
    "cpe:2.3:a:grafana:grafana:11.2.9:-:*:*:*:*:*:*",
    "cpe:2.3:a:grafana:grafana:11.3.6:-:*:*:*:*:*:*",
    "cpe:2.3:a:grafana:grafana:11.4.4:-:*:*:*:*:*:*",
    "cpe:2.3:a:grafana:grafana:11.5.4:-:*:*:*:*:*:*",
    "cpe:2.3:a:grafana:grafana:11.6.1:-:*:*:*:*:*:*",
    "cpe:2.3:a:grafana:grafana:12.0.0:-:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.6,
    "nvd": 6.1
  },
  "repos": [
    {
      "repo": "B1ack4sh/Blackash-CVE-2025-4123",
      "url": "https://github.com/B1ack4sh/Blackash-CVE-2025-4123",
      "created_at": null,
      "first_seen_at": "2026-11-14T21:44:13.198Z",
      "stars": 0,
      "is_poc": "unknown",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "skipped"
    },
    {
      "repo": "kk12-30/CVE-2025-4123",
      "url": "https://github.com/kk12-30/CVE-2025-4123",
      "created_at": null,
      "first_seen_at": "2026-11-14T21:44:13.198Z",
      "stars": 0,
      "is_poc": "unknown",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "skipped"
    },
    {
      "repo": "punitdarji/Grafana-cve-2025-4123",
      "url": "https://github.com/punitdarji/Grafana-cve-2025-4123",
      "created_at": null,
      "first_seen_at": "2026-11-14T21:44:13.198Z",
      "stars": 0,
      "is_poc": "unknown",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "skipped"
    },
    {
      "repo": "NightBloodz/CVE-2025-4123",
      "url": "https://github.com/NightBloodz/CVE-2025-4123",
      "created_at": "2025-05-22T15:34:03Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 58,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2022-05-22T21:17:47Z"
    },
    {
      "repo": "imbas007/CVE-2025-4123-template",
      "url": "https://github.com/imbas007/CVE-2025-4123-template",
      "created_at": "2025-06-03T06:24:32Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "scanner",
      "suspicion_score": 15,
      "suspicious": false,
      "suspicion_reasons": [
        "code never talks to a target"
      ],
      "status": "analyzed",
      "owner_created_at": "2022-02-22T04:38:44Z"
    },
    {
      "repo": "ynsmroztas/CVE-2025-4123-Exploit-Tool-Grafana-",
      "url": "https://github.com/ynsmroztas/CVE-2025-4123-Exploit-Tool-Grafana-",
      "created_at": "2025-06-04T12:42:01Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 33,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2019-12-02T19:28:29Z"
    },
    {
      "repo": "ItsNee/Grafana-CVE-2025-4123-POC",
      "url": "https://github.com/ItsNee/Grafana-CVE-2025-4123-POC",
      "created_at": "2025-09-12T07:53:19Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2017-04-29T08:10:17Z"
    },
    {
      "repo": "MorphyKutay/CVE-2025-4123-Exploit",
      "url": "https://github.com/MorphyKutay/CVE-2025-4123-Exploit",
      "created_at": "2025-10-14T22:06:26Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "fake",
      "kind": "fake",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2020-11-04T15:24:17Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "Grafana",
        "product": "Grafana",
        "ranges": [
          "\u003e= 10.4.18+security-01, \u003c 10.4.19",
          "\u003e= 11.2.9+security-01, \u003c 11.2.10",
          "\u003e= 11.3.6+security-01, \u003c 11.3.7",
          "\u003e= 11.4.4+security-01, \u003c 11.4.5",
          "\u003e= 11.5.4+security-01, \u003c 11.5.5",
          "\u003e= 11.6.1+security-01, \u003c 11.6.2",
          "\u003e= 12.0.0+security-01, \u003c 12.0.1"
        ],
        "fixed_in": [
          "10.4.19",
          "11.2.10",
          "11.3.7",
          "11.4.5",
          "11.5.5",
          "11.6.2",
          "12.0.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Grafana to 10.4.19 or 11.2.10 or 11.3.7 or 11.4.5 or 11.5.5 or 11.6.2 or 12.0.1 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://grafana.com/security/security-advisories/cve-2025-4123/"
      },
      {
        "kind": "Mitigation",
        "url": "https://grafana.com/blog/2025/05/23/grafana-security-release-medium-and-high-severity-security-fixes-for-cve-2025-4123-and-cve-2025-3580/"
      }
    ]
  },
  "exploit_refs": [
    {
      "url": "https://www.exploit-db.com/exploits/52491",
      "source": "exploitdb",
      "title": "Grafana 11.6.0 - SSRF",
      "published_at": "2026-04-06T00:00:00Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-4123.yaml",
      "source": "nuclei",
      "title": "nuclei template: Grafana - XSS / Open Redirect / SSRF via Client Path Traversal",
      "published_at": "2025-05-22T09:58:31Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [
    {
      "method": "GET",
      "path_template": "/public/..%2F%5coast.pro%2F%3f%2F..%2F..",
      "protocol": "http",
      "repos": [
        "imbas007/CVE-2025-4123-template"
      ],
      "repo_count": 1,
      "confidence": 0.85,
      "evidence": [
        "imbas007/CVE-2025-4123-template/CVE-2025-4123.yaml:36"
      ]
    },
    {
      "method": "GET",
      "path_template": "/render/public/..%252f%255C{var}%252f%253F%252f..%252f..",
      "protocol": "http",
      "repos": [
        "imbas007/CVE-2025-4123-template"
      ],
      "repo_count": 1,
      "confidence": 0.85,
      "evidence": [
        "imbas007/CVE-2025-4123-template/CVE-2025-4123.yaml:32"
      ]
    },
    {
      "method": "PUT",
      "path_template": "/api/user",
      "headers": [
        {
          "name": "// note",
          "value": "Cookie' headers are restricted by browsers in JavaScript fetch"
        },
        {
          "name": "Accept",
          "value": "application/json, text/plain, */*"
        },
        {
          "name": "Accept-Language",
          "value": "en-US,en;q=0.9"
        },
        {
          "name": "X-Grafana-Device-Id",
          "value": "3b3353978aa55a04cd5b130d126adfee"
        },
        {
          "name": "X-Grafana-Org-Id",
          "value": "1"
        }
      ],
      "body_markers": [
        "\"name\":\"pwned\"",
        "\"email\":\"pwned@pwned.com\"",
        "\"login\":\"pwned\""
      ],
      "content_type": "application/json",
      "ports": [
        80
      ],
      "user_agents": [
        "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36"
      ],
      "protocol": "http",
      "repos": [
        "NightBloodz/CVE-2025-4123"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "NightBloodz/CVE-2025-4123/js.js:1"
      ]
    }
  ],
  "rules": []
}
