XSS in Prometheus
CVE-2026-44903
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS 0.002, 10.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Prometheus — versions >= 2.49.0, < 3.5.3, >= 3.6.0-rc.0, < 3.11.3
Weakness classification (CWE)
References
- https://github.com/prometheus/prometheus/security/advisories/GHSA-fw8g-cg8f-9j28 (Patch, Mitigation, Vendor Advisory)
- https://github.com/prometheus/prometheus/commit/38f23b9075ced1de2b82d2dad8b2bebb1ecd5b7d (Patch)