{"id":"UBUNTU-CVE-2026-44903","details":"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.","modified":"2026-07-02T18:03:51.079326067Z","published":"2026-05-26T22:16:00Z","upstream":["CVE-2026-44903"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-44903"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-44903"},{"type":"REPORT","url":"https://github.com/prometheus/prometheus/commit/38f23b9075ced1de2b82d2dad8b2bebb1ecd5b7d"},{"type":"REPORT","url":"https://github.com/prometheus/prometheus/security/advisories/GHSA-fw8g-cg8f-9j28"}],"affected":[{"package":{"name":"prometheus","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/prometheus?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.14.0+ds-1","0.16.2+ds-1","0.16.2+ds-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"prometheus","binary_version":"0.16.2+ds-1ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-44903.json"}},{"package":{"name":"prometheus","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/prometheus?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.7.1+ds-1","1.8.1+ds-2","2.1.0+ds-1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.1.0+ds-1","binary_name":"prometheus"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-44903.json"}},{"package":{"name":"prometheus","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/prometheus?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.7.1+ds-3","2.15.2+ds-2"],"ecosystem_specific":{"binaries":[{"binary_name":"prometheus","binary_version":"2.15.2+ds-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-44903.json"}},{"package":{"name":"prometheus","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/prometheus?arch=source&distro=esm-apps%2Fjammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.24.1+ds-1ubuntu1","2.24.1+ds-1ubuntu2","2.31.1+ds2-2","2.31.2+ds1-1","2.31.2+ds1-1ubuntu1","2.31.2+ds1-1ubuntu1.22.04.1","2.31.2+ds1-1ubuntu1.22.04.2","2.31.2+ds1-1ubuntu1.22.04.3","2.31.2+ds1-1ubuntu1.22.04.3+esm1","2.31.2+ds1-1ubuntu1.22.04.3+esm2","2.31.2+ds1-1ubuntu1.22.04.3+esm3"],"ecosystem_specific":{"binaries":[{"binary_name":"prometheus","binary_version":"2.31.2+ds1-1ubuntu1.22.04.3+esm3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-44903.json"}},{"package":{"name":"prometheus","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/prometheus?arch=source&distro=esm-apps%2Fnoble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.45.0+ds-3build1","2.45.1+ds-1","2.45.1+ds-2","2.45.1+ds-3","2.45.3+ds-2","2.45.3+ds-2build1","2.45.3+ds-2ubuntu0.1","2.45.3+ds-2ubuntu0.2","2.45.3+ds-2ubuntu0.2+esm1","2.45.3+ds-2ubuntu0.2+esm2","2.45.3+ds-2ubuntu0.3","2.45.3+ds-2ubuntu0.3+esm1","2.45.3+ds-2ubuntu0.3+esm2"],"ecosystem_specific":{"binaries":[{"binary_version":"2.45.3+ds-2ubuntu0.3+esm2","binary_name":"prometheus"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-44903.json"}},{"package":{"name":"prometheus","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/prometheus?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.53.3+ds1-1","2.53.3+ds1-2"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-github-prometheus-prometheus-dev","binary_version":"2.53.3+ds1-2"},{"binary_version":"2.53.3+ds1-2","binary_name":"prometheus"},{"binary_name":"promtool","binary_version":"2.53.3+ds1-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-44903.json"}},{"package":{"name":"prometheus","ecosystem":"Ubuntu:Pro:26.04:LTS","purl":"pkg:deb/ubuntu/prometheus?arch=source&distro=esm-apps%2Fresolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.53.3+ds1-2","2.53.5+ds1-2","2.53.5+ds1-3","2.53.5+ds1-3ubuntu0.26.04.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-github-prometheus-prometheus-dev","binary_version":"2.53.5+ds1-3ubuntu0.26.04.1~esm1"},{"binary_name":"prometheus","binary_version":"2.53.5+ds1-3ubuntu0.26.04.1~esm1"},{"binary_name":"promtool","binary_version":"2.53.5+ds1-3ubuntu0.26.04.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-44903.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"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"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"type":"Ubuntu","score":"medium"}]}