{"id":"CVE-2026-44903","published":"2026-05-26T21:27:18Z","modified":"2026-05-27T14:20:35Z","title":"Prometheus: Stored XSS via crafted histogram bucket label values in the heatmap display of the old Prometheus web UI","vendor":"prometheus","product":"prometheus","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.1,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00204,"percentile":0.10597,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/prometheus/prometheus/security/advisories/GHSA-fw8g-cg8f-9j28","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/prometheus/prometheus/commit/38f23b9075ced1de2b82d2dad8b2bebb1ecd5b7d","tags":["x_refsource_MISC"]}],"priority":{"score":5.7,"factors":[{"name":"EPSS percentile","points":2.12},{"name":"CVSS severity","points":3.57}]},"vendorSlug":"prometheus","affectedVersions":[{"vendor":"prometheus","product":"prometheus","versions":[">= 2.49.0, < 3.5.3",">= 3.6.0-rc.0, < 3.11.3"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-27T14:19:11.558921Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/prometheus/prometheus","vulnerableRanges":["<0.311.3"],"patched":["0.311.3"],"from":["GHSA-fw8g-cg8f-9j28","GO-2026-5381"],"provenance":"source"}],"summary":{"text":"Prometheus, the open-source monitoring system and time series database, has a stored cross-site scripting flaw in the histogram heatmap chart view of its legacy web UI (enabled with --enable-feature=old-ui), where le label values are inserted into the page's HTML without escaping. An attacker who can inject crafted metrics, which requires low privileges, can run JavaScript in the browser of any user who views that metric in the heatmap chart, and exploitation requires that user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:19:15Z"},"euvd":{"id":"EUVD-2026-32008","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-42151","published":"2026-05-04","fixed":"0.311.3","kev":false},{"cve":"CVE-2026-42154","published":"2026-05-04","fixed":"0.311.3","kev":false},{"cve":"CVE-2026-44903","published":"2026-05-26","fixed":"0.311.3","kev":false},{"cve":"CVE-2026-40179","published":"2026-04-15","fixed":"3.11.2","kev":false,"link":{"from":"CVE-2026-40179","to":"CVE-2026-44903","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/prometheus/prometheus","fromFixed":"0.311.2-0.20260410083055-07c6232d159b","toFixed":"0.311.3","daysApart":41}]}}],"package":"Go:github.com/prometheus/prometheus"}}