Skip to content
Heist/ feed
Back to feed
Medium

Prometheus: Stored XSS via crafted histogram bucket label values in the heatmap display of the old Prometheus web UI

Type: advisorySources: OSV

Prometheus is an open-source monitoring system and time series database. From 2.49.0 to before 3.5.3 and 3.11.3, in the Prometheus server's legacy web UI (enabled via the command-line flag --enable-feature=old-ui), the histogram heatmap chart view does not escape le label values when inserting them into the HTML for use as axis tick mark labels. An attacker who can inject crafted metrics can execute JavaScript in the browser of any Prometheus user who views the metric in the heatmap chart UI. This vulnerability is fixed in 3.5.3 and 3.11.3.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-44903
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 10:52 UTC · Revision 1

Source evidence

Prometheus: Stored XSS via crafted histogram bucket label values in the heatmap display of the old Prometheus web UI

core-osv · Original source

Published 26 May 2026, 21:27 UTC

Prometheus is an open-source monitoring system and time series database. From 2.49.0 to before 3.5.3 and 3.11.3, in the Prometheus server's legacy web UI (enabled via the command-line flag --enable-feature=old-ui), the histogram heatmap chart view does not escape le label values when inserting them into the HTML for use as axis tick mark labels. An attacker who can inject crafted metrics can execute JavaScript in the browser of any Prometheus user who views the metric in the heatmap chart UI. This vulnerability is fixed in 3.5.3 and 3.11.3.

osv:CVE-2026-44903
Complete source record
{
  "id": "0b3d8d6d0c698f59c622db4df52a69243d97b18c0ac143de4974bb5ecb5988cb",
  "url": "https://osv.dev/vulnerability/CVE-2026-44903",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Prometheus: Stored XSS via crafted histogram bucket label values in the heatmap display of the old Prometheus web UI",
    "summary": "Prometheus is an open-source monitoring system and time series database. From 2.49.0 to before 3.5.3 and 3.11.3, in the Prometheus server's legacy web UI (enabled via the command-line flag --enable-feature=old-ui), the histogram heatmap chart view does not escape le label values when inserting them into the HTML for use as axis tick mark labels. An attacker who can inject crafted metrics can execute JavaScript in the browser of any Prometheus user who views the metric in the heatmap chart UI. This vulnerability is fixed in 3.5.3 and 3.11.3.",
    "evidence": "osv:CVE-2026-44903",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-44903",
      "aliases": [
        "BIT-prometheus-2026-44903",
        "CVE-2026-44903",
        "GHSA-fw8g-cg8f-9j28",
        "GO-2026-5381"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/prometheus/prometheus",
              "type": "GIT",
              "events": [
                {
                  "introduced": "683a46cc9999dedf66dd0a4c77644b8d0031d063"
                },
                {
                  "fixed": "dcd3d551ced8b8dc14e0217f8cb14e547109cd5f"
                },
                {
                  "introduced": "491734606591ef8c188f5489c70380805bc868c0"
                },
                {
                  "fixed": "eb173f5256d4022afba1e9bc3d19740a76859fae"
                },
                {
                  "fixed": "38f23b9075ced1de2b82d2dad8b2bebb1ecd5b7d"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:prometheus:prometheus:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.49.0"
                      },
                      {
                        "fixed": "3.5.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:prometheus:prometheus:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.6.0"
                      },
                      {
                        "fixed": "3.11.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "38f23b9075ced1de2b82d2dad8b2bebb1ecd5b7d"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-44903.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:28.175368814Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44903.json",
        "https://github.com/prometheus/prometheus/security/advisories/GHSA-fw8g-cg8f-9j28",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-44903",
        "https://github.com/prometheus/prometheus/commit/38f23b9075ced1de2b82d2dad8b2bebb1ecd5b7d"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-79"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44903.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-44903",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 494678,
  "published_at": "2026-05-26T21:27:18.597+00:00"
}