Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2026-40179

23
FAUCET Score

OVERVIEW CVE-2026-40179 is a stored cross-site scripting (XSS) vulnerability affecting Prometheus versions 3.0 through 3.5.1 and 3.6.0 through 3.11.1. The vulnerability exists in multiple web UI components where metric names and label values are rendered into innerHTML without proper sanitization. Specifically, chart tooltips in the Graph page and fuzzy search results fail to escape user-supplied input, allowing malicious metric names and labels to contain unescaped HTML and JavaScript code. SEVERITY The vulnerability carries a CVSS score of 6.1 (Medium) with a network attack vector, low complexity, and no privilege requirements, though user interaction is necessary. The attack surface requires an attacker to inject malicious metrics via compromised scrape targets, remote write endpoints, or OTLP receivers. Once a user views the poisoned metric in the Graph UI, arbitrary JavaScript executes in their browser context, potentially enabling configuration exfiltration, sensitive data deletion, or Prometheus service disruption depending on enabled administrative flags. EXPLOITATION STATUS The vulnerability is not currently listed on the Known Exploited Vulnerabilities (KEV) catalog and shows no active exploitation indicators. The EPSS score of 0.00011 indicates very low real-world exploitation probability relative to other CVEs. Community attention remains minimal as evidenced by the vulnerability's inactive status on threat intelligence lists. Patches are available in versions 3.5.2 and 3.11.2, and administrators should prioritize updating or implementing recommended mitigations such as restricting remote write and OTLP receivers from untrusted sources and ensuring all scrape targets are from trusted origins.

Impacted Technologies

VendorProductVersion(s)CPE
>= 3.0.0, < 3.5.2CPE matchmatch criteria
cpe:2.3:a:prometheus:prometheus:*:*:*:*:*:*:*:*
>= 3.6.0, < 3.11.2CPE matchmatch criteria
cpe:2.3:a:prometheus:prometheus:*:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 4.0

5.3MEDIUM

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

Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
VS Confidentiality
NONE
VS Integrity
NONE
VS Availability
NONE
SS Confidentiality
LOW
SS Integrity
LOW
SS Availability
NONE
Exploit Maturity
NOT_DEFINED
CvssVersion
4.0

Exploit Intelligence

EPSS Score
0.26%
Probability of exploitation in next 30 days
EPSS Percentile
17.5%
Percentile rank of EPSS score among Peer Group
As of 2026-07-27
Model: v2026.06.15
This CVE's current EPSS score of 0.0026 is in the 18th percentile among its peer group of 26,221 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.1 Bluesky, 0.0 Mastodon, and 0.1 GitHub mentions.

Media Mentions

The average CVE in this peer group has 0.1 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (1)

gopatch availablevia ghsa
Product: github.com/prometheus/prometheusFixed in: 0.311.2-0.20260410083055-07c6232d159b

Vendor Advisories (2)

microsoft2026-Apr/CVE-2026-40179Moderate

Prometheus: Stored XSS via metric names and label values in web UI tooltips and metrics explorer

Apr 14, 2026
goGHSA-vffh-x6r8-xx99medium

Prometheus has Stored XSS via metric names and label values in Prometheus web UI tooltips and metrics explorer

Apr 13, 2026

References

github.com / prometheus/prometheus/commit/07c6232d159bfb474a077788be184d87adcfac3c
Patch
github.com / prometheus/prometheus/pull/18506
Issue TrackingPatch
github.com / prometheus/prometheus/security/advisories/GHSA-vffh-x6r8-xx99
MitigationVendor Advisory