{"schema_version":"1.3.1","id":"GO-2026-5662","modified":"2026-07-08T17:05:00Z","published":"2026-06-25T22:34:38Z","aliases":["CVE-2026-40179","GHSA-vffh-x6r8-xx99"],"summary":"Prometheus has Stored XSS via metric names and label values in Prometheus web UI in github.com/prometheus/prometheus","details":"Prometheus has Stored XSS via metric names and label values in Prometheus web UI in github.com/prometheus/prometheus","affected":[{"package":{"name":"github.com/prometheus/prometheus","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.311.2-0.20260410083055-07c6232d159b"}]}],"ecosystem_specific":{"custom_ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"fixed":"3.5.2"},{"introduced":"3.6.0"},{"fixed":"3.11.2"}]}]}}],"references":[{"type":"ADVISORY","url":"https://github.com/prometheus/prometheus/security/advisories/GHSA-vffh-x6r8-xx99"},{"type":"FIX","url":"https://github.com/prometheus/prometheus/commit/07c6232d159bfb474a077788be184d87adcfac3c"},{"type":"FIX","url":"https://github.com/prometheus/prometheus/pull/18506"}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2026-5662","review_status":"REVIEWED"}}