Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-33404

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

CVE-2026-33404 is a cross-site scripting flaw in Pi-hole Admin Interface that allows injection through unescaped client data. Versions 6.0 to before 6.5 are affected. This article covers technical details and mitigation.

Published: April 10, 2026

CVE-2026-33404 Overview

CVE-2026-33404 is a Cross-Site Scripting (XSS) vulnerability in the Pi-hole Admin Interface, a web interface for managing Pi-hole, a network-level ad and internet tracker blocking application. The vulnerability affects versions 6.0 to before 6.5, where client hostnames and IP addresses from the FTL database are rendered into the DOM without proper escaping in network.js (Network page) and charts.js/index.js (Dashboard chart tooltips).

While upstream validation in dnsmasq and FTL blocks HTML characters via normal DHCP/DNS paths, the web UI performs no output escaping — an inconsistency with other fields in the same file that are properly escaped. This vulnerability is fixed in version 6.5.

Critical Impact

Attackers with local access and high privileges could potentially inject malicious scripts through client hostnames or IP addresses, leading to session hijacking, credential theft, or unauthorized actions within the Pi-hole admin interface.

Affected Products

  • Pi-hole Admin Interface versions 6.0 to before 6.5
  • Pi-hole Web Interface (network.js, charts.js, index.js components)

Discovery Timeline

  • 2026-04-06 - CVE-2026-33404 published to NVD
  • 2026-04-07 - Last updated in NVD database

Technical Details for CVE-2026-33404

Vulnerability Analysis

This vulnerability is classified as CWE-79 (Cross-Site Scripting). The root issue lies in the inconsistent output encoding within the Pi-hole web interface. Specifically, the Network page and Dashboard chart tooltips render client hostnames and IP addresses directly into the DOM without sanitization, while other fields in the same codebase are properly escaped.

Although dnsmasq and FTL (Faster Than Light DNS resolver) provide upstream validation that typically blocks HTML characters through standard DHCP and DNS pathways, this does not constitute a complete defense. The web interface itself should implement proper output encoding as a defense-in-depth measure, regardless of upstream protections.

The attack requires local access with high privileges, which limits the attack surface but still presents a risk in shared or compromised network environments where an attacker might have administrative access or be able to manipulate FTL database entries through other means.

Root Cause

The vulnerability stems from improper output encoding in the JavaScript files responsible for rendering the Pi-hole admin interface. The network.js file, which handles the Network page display, and the charts.js/index.js files, which manage Dashboard chart tooltips, both render client data without applying HTML entity escaping.

This creates an inconsistency where some fields in the codebase are properly escaped while others are not, indicating a gap in secure coding practices during development. The assumption that upstream validation is sufficient leaves the application vulnerable if those protections are bypassed or if data is introduced through alternative paths.

Attack Vector

The attack vector for CVE-2026-33404 requires local access with high privileges. An attacker would need to:

  1. Gain access to manipulate client hostname or IP address data in the FTL database
  2. Inject malicious JavaScript payloads disguised as hostname or IP address values
  3. Wait for an administrator to view the Network page or Dashboard chart tooltips

When the targeted admin views the affected pages, the malicious script executes in their browser context, potentially allowing the attacker to steal session cookies, perform actions as the admin, or redirect to malicious sites.

The vulnerability manifests in the DOM rendering functions within network.js and charts.js/index.js. See the Pi-hole security advisory for technical details.

Detection Methods for CVE-2026-33404

Indicators of Compromise

  • Unexpected or suspicious client hostnames containing HTML tags or JavaScript code in the Pi-hole admin interface
  • Unusual entries in the FTL database with characters such as <, >, script, or encoded equivalents
  • Browser developer console errors or warnings related to script execution on the Network or Dashboard pages

Detection Strategies

  • Monitor Pi-hole FTL database entries for hostnames or IP addresses containing suspicious characters or script-like patterns
  • Implement Content Security Policy (CSP) headers to detect and block inline script execution attempts
  • Review browser console logs for unexpected JavaScript errors or cross-site scripting warnings when viewing Pi-hole admin pages
  • Audit network traffic for unusual requests originating from the Pi-hole admin interface to external domains

Monitoring Recommendations

  • Enable logging for Pi-hole admin interface access and monitor for unusual patterns or repeated page views
  • Configure intrusion detection systems to alert on XSS attack signatures in network traffic to Pi-hole admin interfaces
  • Regularly audit FTL database contents for anomalous hostnames or IP address entries
  • Deploy endpoint detection solutions to monitor for browser-based script injection attempts

How to Mitigate CVE-2026-33404

Immediate Actions Required

  • Upgrade Pi-hole Admin Interface to version 6.5 or later immediately
  • Audit existing FTL database entries for suspicious hostnames or IP addresses containing HTML or script content
  • Restrict administrative access to the Pi-hole interface to trusted users only
  • Implement network segmentation to limit exposure of the Pi-hole admin interface

Patch Information

The vulnerability is fixed in Pi-hole Admin Interface version 6.5. Users should upgrade to this version or later to remediate the XSS vulnerability. The patch implements proper output escaping for client hostnames and IP addresses rendered in network.js and charts.js/index.js.

For detailed information about the fix, refer to the Pi-hole security advisory on GitHub.

Workarounds

  • Limit access to the Pi-hole admin interface to trusted administrators only until patching is complete
  • Implement strict Content Security Policy (CSP) headers to block inline script execution as an additional layer of defense
  • Monitor FTL database entries for suspicious content and sanitize any anomalous hostnames or IP addresses manually
  • Consider placing the Pi-hole admin interface behind a VPN or reverse proxy with additional authentication controls
bash
# Example: Restrict access to Pi-hole admin interface by IP
# Add to /etc/lighttpd/external.conf or equivalent web server config
$HTTP["remoteip"] != "192.168.1.0/24" {
    url.access-deny = ( "/admin" )
}

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

  • SeverityLOW

  • CVSS Score3.4

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • Github
  • Related CVEs
  • CVE-2026-33405: Pi-hole Web Interface XSS Vulnerability

  • CVE-2026-33403: Pi-hole Admin Interface XSS Vulnerability

  • CVE-2026-33406: Pi-hole Admin Interface XSS Vulnerability

  • CVE-2026-26953: Pi-hole Admin Interface XSS Vulnerability
Default Legacy - Prefooter | 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
  • 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