Stored HTML injection via unescaped forwarded address
Published Feb 19, 2026 · Updated Feb 19, 2026
Stored HTML injection in Pi-hole Web Interface before 6.4.1 allows remote authenticated users to alter the active sessions page. scripts/js/settings-api.js passes data.x_forwarded_for from stored session metadata directly into jQuery .html() inside rowCallback, bypassing DataTables text escaping and causing the browser to parse attacker-supplied tags. Valid Pi-hole credentials and a later administrator visit to the API settings page are required; the default CSP blocks inline script, limiting the grounded impact to rendered HTML such as UI spoofing or hidden session rows.
Summary
What happened
Stored HTML injection in Pi-hole Web Interface before 6.4.1 allows remote authenticated users to alter the active sessions page. scripts/js/settings-api.js passes data.x_forwarded_for from stored session metadata directly into jQuery .html() inside rowCallback, bypassing DataTables text escaping and causing the browser to parse attacker-supplied tags. Valid Pi-hole credentials and a later administrator visit to the API settings page are required; the default CSP blocks inline script, limiting the grounded impact to rendered HTML such as UI spoofing or hidden session rows.
The record
- CVE
- CVE-2026-26953
- Published
- Feb 19, 2026
- Updated
- Feb 19, 2026
- Vendor
- Pi-hole
- Product
- Pi-hole Web Interface
- Classifications
- CWE-116, CWE-20, CWE-79
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Feb 19, 2026CVE publishedPublication date reported by the CVE source.
- Feb 19, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=< 6.4.1
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- GHSA authenticated X-Forwarded-For proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo