Skip to content

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

MediumCVSS 5.1 EPSS 0.20%
Published
Updated
Exploit status
No public exploit known

Description

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.

Affected products

ProductAffected versionsFixed in
prometheus(Go) < 0.311.3 0.311.3
prometheus = >= 2.49.0, < 3.5.3 No fix listed
prometheus = >= 3.6.0-rc.0, < 3.11.3 No fix listed
debian/prometheus(Debian:13) All versions No fix listed
debian/prometheus(Debian:13) = 2.53.3+ds1-2 No fix listed
debian/prometheus(Debian:13) = 2.53.4+ds1-1 No fix listed
debian/prometheus(Debian:13) = 2.53.5+ds1-1 No fix listed
debian/prometheus(Debian:13) = 2.53.5+ds1-2 No fix listed
debian/prometheus(Debian:13) = 2.53.5+ds1-3 No fix listed
debian/prometheus(Debian:13) = 2.53.5+ds1-4 No fix listed
debian/prometheus(Debian:13) = 2.53.5+ds1-5 No fix listed
debian/prometheus(Debian:13) = 3.5.3+ds1-1 No fix listed
debian/prometheus(Debian:13) = 3.5.3+ds1-2 No fix listed
debian/prometheus(Debian:13) = 3.5.3+ds1-3 No fix listed
debian/prometheus(Debian:13) = 3.5.3+ds1-4 No fix listed
debian/prometheus(Debian:13) = 3.5.3+ds1-5 No fix listed
debian/prometheus(Debian:13) = 3.5.3+ds1-6~exp1 No fix listed
debian/prometheus(Debian:14) < 3.5.3+ds1-1 3.5.3+ds1-1
debian/prometheus(Debian:14) = 2.53.3+ds1-2 No fix listed
debian/prometheus(Debian:14) = 2.53.4+ds1-1 No fix listed
debian/prometheus(Debian:14) = 2.53.5+ds1-1 No fix listed
debian/prometheus(Debian:14) = 2.53.5+ds1-2 No fix listed
debian/prometheus(Debian:14) = 2.53.5+ds1-3 No fix listed
debian/prometheus(Debian:14) = 2.53.5+ds1-4 No fix listed
debian/prometheus(Debian:14) = 2.53.5+ds1-5 No fix listed
Show 6 more
ProductAffected versionsFixed in
ubuntu/prometheus(Ubuntu:22.04) All versions No fix listed
ubuntu/prometheus(Ubuntu:24.04) All versions No fix listed
ubuntu/prometheus(Ubuntu:26.04) All versions No fix listed
ubuntu/prometheus(Ubuntu:26.10) All versions No fix listed
prometheus >= 2.49.0, < 3.5.3 3.5.3
prometheus >= 3.6.0, < 3.11.3 3.11.3

References