CVE-2026-26952

MEDIUM EPSS 14.9%
Published Feb 19, 20264mo ago · Modified Mar 12, 20263mo ago
5.4 CVSS 3.1
Medium
Find Similar
Published Feb 19, 2026 4mo ago
Last Modified Mar 12, 2026 3mo ago

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 Details

Base Score
5.4
Exploitability
2.3
Impact
2.7
Vector string
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Attack Vector Network
Attack Complexity Low
Privileges Required Low
User Interaction Required
Scope Changed
Confidentiality Low
Integrity Low
Availability None

Threat Intelligence

EPSS Exploit Probability
14.9% percentile
Exploit & Patch Status
No Known Exploit
Patch Available

Weaknesses 3

CWE-116
CWE-20 Improper Input Validation Validation
CWE-79 Cross-site Scripting Injection

Affected Products 1

VendorProductVersionRange
pi-holeweb_interface* <6.4.1

References 3

  • github.com https://github.com/pi-hole/web/commit/d328f143718022d82dc94c8751121ca41be3b996
    Patch
  • github.com https://github.com/pi-hole/web/releases/tag/v6.4.1
    Release Notes
  • github.com https://github.com/pi-hole/web/security/advisories/GHSA-6xp4-jw73-f4qp
    Third Party Advisory

Remediation

  • github.com https://github.com/pi-hole/web/commit/d328f143718022d82dc94c8751121ca41be3b996
    Patch