VDB
KO

GO-2026-5662

Prometheus has Stored XSS via metric names and label values in Prometheus web UI tooltips and metrics explorer in github.com/prometheus/prometheus

Details

Prometheus has Stored XSS via metric names and label values in Prometheus web UI tooltips and metrics explorer in github.com/prometheus/prometheus.

NOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.

(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)

The additional affected modules and versions are: .

Are you affected?

Enter the version of the package you're using.

Affected packages

Go / github.com/prometheus/prometheus
Introduced in: 0

No fixed version published yet for github.com/prometheus/prometheus (go modules). Pin to a known-safe version or switch to an alternative.

Go / github.com/prometheus/prometheus
Introduced in: 0

No fixed version published yet for github.com/prometheus/prometheus (go modules). Pin to a known-safe version or switch to an alternative.

Go / github.com/prometheus/prometheus
Introduced in: 0 Fixed in: 0.311.2-0.20260410083055-07c6232d159b
Fix go get github.com/prometheus/prometheus@v0.311.2-0.20260410083055-07c6232d159b

References