Medium severity · published Feb 19, 2026
CVE-2026-26952
Pi-hole Web Interface has Stored HTML Injection via Local DNS Records (CNAME/Hosts) in data-tag Attribute
5.4
CVSS
0.3%
EPSS
No
On KEV
Description
Pi-hole Admin Interface is a web interface for managing Pi-hole, a network-level ad and internet tracker blocking application. Versions 6.4 and below are vulnerable to stored HTML injection through the local DNS records configuration page, which allows an authenticated administrator to inject code that is stored in the Pi-hole configuration and rendered every time the DNS records table is viewed. The populateDataTable() function contains a data variable with the full DNS record value exactly as entered by the user and returned by the API. This value is inserted directly into the data-tag HTML attribute without any escaping or sanitization of special characters. When an attacker supplies a value containing double quotes ("), they can prematurely “close” the data-tag attribute and inject additional HTML attributes into the element. Since Pi-hole implements a Content Security Policy (CSP) that blocks inline JavaScript, the impact is limited. This issue has been fixed in version 6.4.1.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
Required
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 20% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
WE
web · pi-hole
< 6.4.1 · source: vendor
WI
Web Interface · Pi-hole
before 6.4.1 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-26952
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-26952
Patch
https://github.com/pi-hole/web/commit/d328f143718022d82dc94c8751121ca41be3b996
Release Notes
https://github.com/pi-hole/web/releases/tag/v6.4.1
Third Party Advisory
https://github.com/pi-hole/web/security/advisories/GHSA-6xp4-jw73-f4qp
More from web
9.8
CVE-2026-33765
Pi-hole Web Interface has a Command Injection Vulnerability
8.2
CVE-2025-59151
Pi-hole Admin Interface vulnerable to HTTP response header injection via CRLF injection
6.1
CVE-2026-33406
Pi-hole has a Stored HTML attribute injection
6.1
CVE-2026-33404
Pi-hole has a Stored XSS / HTML injection in the Network page/Dashboard
6.1
CVE-2026-33403
Pi-hole has a Reflected XSS / HTML injection in taillog.js
