A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-44903

CVE-2026-44903: Prometheus Legacy UI XSS Vulnerability

CVE-2026-44903 is a cross-site scripting flaw in Prometheus legacy web UI that allows attackers to execute JavaScript in user browsers through crafted metrics. This post covers technical details, affected versions, and mitigations.

Published: May 28, 2026

CVE-2026-44903 Overview

CVE-2026-44903 is a stored cross-site scripting (XSS) vulnerability in the Prometheus open-source monitoring system and time series database. The flaw exists in the legacy web UI heatmap chart view, which is enabled with the command-line flag --enable-feature=old-ui. The chart fails to escape le label values before inserting them into HTML used for axis tick mark labels. An attacker who can inject crafted metrics can execute arbitrary JavaScript in the browser of any Prometheus user viewing the metric in the heatmap chart. The issue affects versions from 2.49.0 up to (but not including) 3.5.3 and 3.11.3.

Critical Impact

Attackers with metric injection capability can run arbitrary JavaScript in the browsers of Prometheus operators, enabling session theft, UI manipulation, and lateral access into monitoring infrastructure.

Affected Products

  • Prometheus server versions 2.49.0 through 3.5.2 (legacy UI enabled)
  • Prometheus server 3.x branch prior to 3.5.3
  • Prometheus server 3.11.x branch prior to 3.11.3

Discovery Timeline

  • 2026-05-26 - CVE-2026-44903 published to NVD
  • 2026-05-26 - Last updated in NVD database

Technical Details for CVE-2026-44903

Vulnerability Analysis

The vulnerability is a stored cross-site scripting flaw classified under [CWE-79]. Prometheus stores histogram bucket boundaries in the le (less-than-or-equal) label of histogram metric series. The legacy web UI heatmap chart renders these le values as axis tick labels by concatenating them into HTML markup. Because no output encoding is applied, an attacker who controls a metric label value can break out of the expected text context and inject script tags or event handlers.

Exploitation requires the operator to run Prometheus with the --enable-feature=old-ui flag. Modern Prometheus deployments using the default UI are not exposed through this code path. The persistent nature of metric storage means a single injection can repeatedly fire each time an authorized user opens the heatmap visualization.

Root Cause

The defect lies in web/ui/react-app/src/pages/graph/Graph.tsx, where le label strings were inserted into chart tick configuration without HTML escaping. The fix imports an escapeHTML helper from the project utilities and applies it to label values before they reach the rendering layer.

Attack Vector

An attacker first needs the ability to inject metrics into a target Prometheus instance. This is commonly achieved through compromised or misconfigured scrape targets, exposed push gateways, or remote write endpoints. The attacker crafts a histogram metric whose le label contains an HTML payload such as a <script> tag or onerror handler. When a Prometheus user navigates to the heatmap chart for that metric in the legacy UI, the payload executes in the browser session with the user's privileges in the Prometheus origin.

text
 import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
 import { faTimes } from '@fortawesome/free-solid-svg-icons';
 import { GraphDisplayMode } from './Panel';
+import { escapeHTML } from '../../utils';
 
 require('../../vendor/flot/jquery.flot');
 require('../../vendor/flot/jquery.flot.stack');

Source: Prometheus security commit 38f23b9. The patch introduces the escapeHTML utility into Graph.tsx and routes tick label values through it before HTML insertion.

Detection Methods for CVE-2026-44903

Indicators of Compromise

  • Histogram metrics whose le label values contain HTML control characters such as <, >, or ", or substrings like <script, onerror=, or javascript:.
  • Unexpected scrape targets or remote-write sources publishing histogram series with non-numeric le values.
  • Outbound browser requests from Prometheus operator workstations to unknown domains immediately after viewing a heatmap chart.

Detection Strategies

  • Query Prometheus for any series where le is not parseable as a number, for example using PromQL label introspection over histogram series.
  • Inspect process command lines on Prometheus hosts for the --enable-feature=old-ui flag, which indicates exposure to the vulnerable code path.
  • Review web server access logs for requests to the legacy UI heatmap routes correlated with subsequent anomalous JavaScript-driven activity.

Monitoring Recommendations

  • Audit and restrict who can write metrics to Prometheus, including scrape target ownership and remote-write authentication.
  • Alert on configuration changes that re-enable the legacy UI feature flag in production deployments.
  • Track Prometheus server version drift to confirm fleet-wide remediation against 3.5.3 or 3.11.3.

How to Mitigate CVE-2026-44903

Immediate Actions Required

  • Upgrade Prometheus to version 3.5.3 or 3.11.3, which contain the HTML escaping fix.
  • Remove the --enable-feature=old-ui flag from server start parameters unless explicitly required.
  • Validate the integrity of metric sources and rotate any operator browser sessions that may have viewed crafted heatmaps.

Patch Information

The upstream fix is committed in Prometheus commit 38f23b9 and documented in GitHub Security Advisory GHSA-fw8g-cg8f-9j28. The patch applies escapeHTML to le label values inside web/ui/react-app/src/pages/graph/Graph.tsx before they are written into chart tick labels.

Workarounds

  • Disable the legacy web UI by removing --enable-feature=old-ui from the Prometheus command line and restarting the service.
  • Restrict network access to the Prometheus UI to trusted administrative networks using a reverse proxy or firewall ACLs.
  • Enforce strict label validation on ingestion paths to reject histogram metrics whose le value is not numeric.
bash
# Remove the legacy UI feature flag and restart Prometheus
# Before: prometheus --config.file=/etc/prometheus/prometheus.yml --enable-feature=old-ui
# After:
prometheus --config.file=/etc/prometheus/prometheus.yml

# Verify the running version is patched
prometheus --version | grep -E '3\.5\.3|3\.11\.3'

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechPrometheus

  • SeverityMEDIUM

  • CVSS Score5.1

  • EPSS Probability0.05%

  • Known ExploitedNo
  • CVSS 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/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
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • GitHub Commit: Security Fix

  • GitHub Security Advisory GHSA-fw8g-cg8f-9j28
  • Related CVEs
  • CVE-2026-40179: Prometheus Monitoring System XSS Vulnerability

  • CVE-2026-42151: Prometheus Information Disclosure Flaw

  • CVE-2026-42154: Prometheus DOS Vulnerability

  • CVE-2022-21698: Prometheus Client Golang DoS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English