LowGO-2026-5381BIT-prometheus-2026-44903CVE-2026-44903GHSA-fw8g-cg8f-9j28

Prometheus vulnerable to stored XSS via crafted histogram bucket label values in the old web UI heatmap display in github.com/prometheus/prometheus

Published 25 Jun 2026 · Updated 27 Jun 2026

Is your project on an affected github.com/prometheus/prometheus?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected package

Affected
<0.311.3
Fixed in
0.311.3
Update to the fixed version for your release line, for example:go get github.com/prometheus/prometheus@v0.311.3

Details

Prometheus vulnerable to stored XSS via crafted histogram bucket label values in the old web UI heatmap display in github.com/prometheus/prometheus

Is GO-2026-5381 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected github.com/prometheus/prometheus, and gives you the command that fixes it.

More advisories for github.com/prometheus/prometheus

  • LowCVE-2026-40179Prometheus has Stored XSS via metric names and label values in Prometheus web UI in github.com/prometheus/prometheus · 25 Jun 2026
  • LowCVE-2026-42151Prometheus Azure AD remote write OAuth client secret exposed via config API in github.com/prometheus/prometheus · 25 Jun 2026
  • LowCVE-2026-42154Prometheus: Remote read endpoint allows denial of service via crafted snappy payload in github.com/prometheus/prometheus · 25 Jun 2026
  • HighCVE-2026-42154Prometheus: Remote read endpoint allows denial of service via crafted snappy payload · 5 May 2026
  • HighCVE-2026-42151Prometheus Azure AD remote write OAuth client secret exposed via config API · 5 May 2026
  • MediumCVE-2026-40179Prometheus has Stored XSS via metric names and label values in Prometheus web UI tooltips and metrics explorer · 13 Apr 2026
All 8 advisories for github.com/prometheus/prometheus

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.