Upstream information

CVE-2026-40179 at MITRE

Description

Prometheus is an open-source monitoring system and time series database. Versions 3.0 through 3.5.1 and 3.6.0 through 3.11.1 have stored cross-site scripting vulnerabilities in multiple components of the Prometheus web UI where metric names and label values are injected into innerHTML without escaping. In both the Mantine UI and old React UI, chart tooltips on the Graph page render metric names containing HTML/JavaScript without sanitization. In the old React UI, the Metric Explorer fuzzy search results use dangerouslySetInnerHTML without escaping, and heatmap cell tooltips interpolate le label values without sanitization. With Prometheus v3.x defaulting to UTF-8 metric and label name validation, characters like <, >, and " are now valid in metric names and labels. An attacker who can inject metrics via a compromised scrape target, remote write, or OTLP receiver endpoint can execute arbitrary JavaScript in the browser of any Prometheus user who views the metric in the Graph UI, potentially enabling configuration exfiltration, data deletion, or Prometheus shutdown depending on enabled flags. This issue has been fixed in versions 3.5.2 and 3.11.2. If developers are unable to immediately update, the following workarounds are recommended: ensure that the remote write receiver (--web.enable-remote-write-receiver) and the OTLP receiver (--web.enable-otlp-receiver) are not exposed to untrusted sources; verify that all scrape targets are trusted and not under attacker control; avoid enabling admin or mutating API endpoints (e.g., --web.enable-admin-api or --web.enable-lifecycle) in environments where untrusted data may be ingested; and refrain from clicking untrusted links, particularly those containing functions such as label_replace, as they may generate poisoned label names and values.

SUSE information

Overall state of this security issue: Pending

This issue is currently rated as having moderate severity.

CVSS v3 Scores
CVSS detail SUSE
Base Score 5.4
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction Required
Scope Unchanged
Confidentiality Impact Low
Integrity Impact Low
Availability Impact None
CVSSv3 Version 3.1
CVSS v4 Scores
CVSS detail CNA (GitHub) SUSE
Base Score 5.3 5.3
Vector CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
Attack Vector Network Network
Attack Complexity Low Low
Attack Requirements None None
Privileges Required None None
User Interaction Passive Passive
Vulnerable System Confidentiality Impact None Low
Vulnerable System Integrity Impact None Low
Vulnerable System Availability Impact None None
Subsequent System Confidentiality Impact Low None
Subsequent System Integrity Impact Low None
Subsequent System Availability Impact None None
CVSSv4 Version 4.0 4.0
SUSE Bugzilla entry: 1262222 [NEW]

No SUSE Security Announcements cross referenced.


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.

Product(s) Source package State
Products under general support and receiving all security fixes.
SUSE Linux Enterprise Module for Package Hub 15 SP7 golang-github-prometheus-prometheus Affected
SUSE Linux Enterprise Server 16.0 golang-github-prometheus-prometheus Affected
SUSE Linux Enterprise Server for SAP applications 16.0 golang-github-prometheus-prometheus Affected
SUSE Manager Client Tools 15 golang-github-prometheus-prometheus Affected
SUSE Manager Client Tools for SLE 15 golang-github-prometheus-prometheus Affected
SUSE Multi-Linux Manager Client Tools for SLE 15 golang-github-prometheus-prometheus Affected
openSUSE Leap 15.6 golang-github-prometheus-prometheus Affected
Products under Long Term Service Pack support and receiving important and critical security fixes.
SUSE Manager Proxy LTS 4.3 golang-github-prometheus-prometheus Affected
SUSE Manager Proxy Module 4.3 golang-github-prometheus-prometheus Affected
Products past their end of life and not receiving proactive updates anymore.
SUSE Enterprise Storage 6 golang-github-prometheus-prometheus Affected
SUSE Linux Enterprise Module for Package Hub 15 SP5 golang-github-prometheus-prometheus Affected
SUSE Linux Enterprise Module for Package Hub 15 SP6 golang-github-prometheus-prometheus Affected
SUSE Manager Proxy Module 4.1 golang-github-prometheus-prometheus Affected
SUSE Manager Proxy Module 4.2 golang-github-prometheus-prometheus Affected
openSUSE Leap 15.3 golang-github-prometheus-prometheus Affected
openSUSE Leap 15.4 golang-github-prometheus-prometheus Affected
openSUSE Leap 15.5 golang-github-prometheus-prometheus Affected
Products at an unknown state of their lifecycle.
SUSE Multi Linux Manager Tools SLE-15 golang-github-prometheus-prometheus Affected
Container Status
ses/7.1/ceph/prometheus-server
ses/7/ceph/prometheus-server
golang-github-prometheus-prometheusAffected


SUSE Timeline for this CVE

CVE page created: Thu Apr 16 05:20:46 2026
CVE page last modified: Thu Apr 16 18:51:00 2026