CVE-2026-44903
Prometheus vulnerable to stored XSS via crafted histogram bucket label values in the old web UI heatmap display
Auswirkung
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.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, allerdings muss ein Nutzer etwas tun, etwa eine Datei oder einen Link öffnen. Bei Erfolg: geringes Risiko, dass Daten ausgelesen werden, geringes Risiko, dass Daten oder Systeme verändert werden. Der Angriff kann über die verwundbare Komponente hinaus wirken.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| go | github.com/prometheus/prometheus | < 0.311.3 | 0.311.3 |
Betroffene Produkte · Prometheus
| Produkt | Betroffene Versionen |
|---|---|
| Prometheus | ab 2.49.0 vor 3.5.3 ab 3.6.0 vor 3.11.3 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/advisories/GHSA-fw8g-cg8f-9j28
- https://github.com/prometheus/prometheus/security/advisories/GHSA-fw8g-cg8f-9j28
- https://github.com/prometheus/prometheus/commit/38f23b9075ced1de2b82d2dad8b2bebb1ecd5b7d
- https://nvd.nist.gov/vuln/detail/CVE-2026-44903