A Leader in the 2025 Gartner® Magic Quadrant™ for Endpoint Protection Platforms. Five years running.A Leader in the Gartner® Magic Quadrant™Read the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI Security Portfolio
      Leading the Way in AI-Powered Security Solutions
    • 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
    • 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
      Digital Forensics, IRR & Breach Readiness
    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
    • 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-26953

CVE-2026-26953: Pi-hole Admin Interface XSS Vulnerability

CVE-2026-26953 is a stored HTML injection flaw in Pi-hole Admin Interface that allows authenticated attackers to inject malicious HTML via X-Forwarded-For headers. This article covers technical details, affected versions, and mitigation.

Published: February 20, 2026

CVE-2026-26953 Overview

CVE-2026-26953 is a Stored HTML Injection vulnerability affecting the Pi-hole Admin Interface, a web interface for managing Pi-hole, a network-level ad and internet tracker blocking application. The vulnerability exists in versions 6.0 and above, specifically in the active sessions table located on the API settings page. An attacker with valid credentials can inject arbitrary HTML code that will be rendered in the browser of any administrator who visits the active sessions page.

Critical Impact

Authenticated attackers can inject persistent HTML content into the Pi-hole admin interface, potentially enabling phishing attacks, UI defacement, or social engineering against other administrators viewing the active sessions page.

Affected Products

  • Pi-hole Admin Interface (web) versions 6.0 through 6.4.0

Discovery Timeline

  • 2026-02-19 - CVE-2026-26953 published to NVD
  • 2026-02-19 - Last updated in NVD database

Technical Details for CVE-2026-26953

Vulnerability Analysis

This vulnerability is classified as CWE-20 (Improper Input Validation) and manifests in the rowCallback function within the active sessions table functionality. The function processes the data.x_forwarded_for value, which represents the X-Forwarded-For HTTP header from authentication requests. This value is directly concatenated into an HTML string and inserted into the DOM using jQuery's .html() method, which interprets the content as HTML rather than treating it as plain text.

When administrators view the active sessions page, any HTML tags present in the stored X-Forwarded-For values will be parsed and rendered by the browser. While Pi-hole implements a Content Security Policy (CSP) that blocks inline JavaScript execution, the vulnerability still allows for pure HTML injection without script execution capabilities.

Root Cause

The root cause is improper input validation and unsafe DOM manipulation. The application fails to sanitize or encode the X-Forwarded-For header value before inserting it into the DOM. By using jQuery's .html() method instead of .text() or proper HTML encoding, user-controlled input is interpreted as HTML markup rather than being displayed as literal text.

Attack Vector

An attacker with valid Pi-hole credentials can exploit this vulnerability by sending authentication requests with crafted X-Forwarded-For headers containing malicious HTML code instead of legitimate IP addresses. Common tools such as curl, wget, Python requests, Burp Suite, or JavaScript fetch() can be used to send these malicious requests.

The attack requires network access and valid credentials (low privileges), but once injected, the malicious HTML persists in the active sessions table and affects any administrator who subsequently views that page. While script execution is blocked by CSP, attackers could inject phishing forms, misleading content, or UI elements designed to deceive administrators.

Detection Methods for CVE-2026-26953

Indicators of Compromise

  • Unusual or malformed entries in the active sessions table containing HTML tags
  • X-Forwarded-For header values that contain angle brackets (<, >) or HTML element names
  • Authentication logs showing requests with non-IP-address content in the X-Forwarded-For header
  • User reports of unexpected visual elements or forms on the API settings page

Detection Strategies

  • Monitor authentication request logs for X-Forwarded-For headers containing HTML markup patterns
  • Implement web application firewall (WAF) rules to detect and block HTML tags in header values
  • Review active sessions data for entries that do not conform to valid IP address formats
  • Configure SentinelOne Singularity to monitor for anomalous web traffic patterns targeting Pi-hole instances

Monitoring Recommendations

  • Enable detailed logging for the Pi-hole web interface to capture all authentication attempts
  • Set up alerts for X-Forwarded-For header values exceeding typical IP address length
  • Periodically audit the active sessions table for suspicious entries
  • Monitor for multiple authentication attempts from the same source with varying X-Forwarded-For values

How to Mitigate CVE-2026-26953

Immediate Actions Required

  • Upgrade Pi-hole Admin Interface (web) to version 6.4.1 or later immediately
  • Review active sessions for any suspicious entries containing HTML markup
  • Restrict access to the Pi-hole admin interface to trusted networks only
  • Audit recent authentication logs for signs of exploitation attempts

Patch Information

This vulnerability has been fixed in Pi-hole Admin Interface version 6.4.1. The fix addresses the improper handling of the X-Forwarded-For header value in the rowCallback function. Organizations should update to this version or later to remediate the vulnerability.

For detailed patch information, see the GitHub Commit Update and download the patched version from the GitHub Release Version 6.4.1.

Additional technical details are available in the GitHub Security Advisory GHSA-8rw8-vjgp-rwj6.

Workarounds

  • Limit admin interface access to localhost or trusted management networks via firewall rules
  • Implement a reverse proxy with header sanitization to filter malicious X-Forwarded-For values
  • Restrict Pi-hole user accounts to minimize the number of credentials that could be used for exploitation
  • Monitor the active sessions page manually and clear suspicious entries until patching is possible
bash
# Example: Restrict Pi-hole admin access to localhost using iptables
iptables -A INPUT -p tcp --dport 80 -s 127.0.0.1 -j ACCEPT
iptables -A INPUT -p tcp --dport 80 -j DROP

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechPi Hole

  • SeverityMEDIUM

  • CVSS Score5.4

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-20
  • Technical References
  • GitHub Commit Update

  • GitHub Release Version 6.4.1

  • GitHub Security Advisory GHSA-8rw8-vjgp-rwj6
  • Related CVEs
  • CVE-2026-26952: Pi-hole Admin Interface XSS Vulnerability
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now 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
  • English
  • 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