{"schemaVersion":3,"id":"CVE-2026-26952","aliases":[],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2026-02-19T22:43:58.403Z","modified":"2026-02-20T15:40:28.882Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.4,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00402,"percentile":0.33076,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.15300000000000002,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00249},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0024,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0024,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0024,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0024,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00249,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00249,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00249,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00249,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00249,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00249,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00402,"percentile":0.33076}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00249,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00249,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00249,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00249,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00402,"percentile":0.33076}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-20","name":"Improper Input Validation","description":"The product receives input or data, but it does\n        not validate or incorrectly validates that the input has the\n        properties that are required to process the data safely and\n        correctly.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/20.html"},{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","description":"The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-116","name":"Improper Encoding or Escaping of Output","description":"The product prepares a structured message for communication with another component, but encoding or escaping of the data is either missing or done incorrectly. As a result, the intended structure of the message is not preserved.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/116.html"}],"affected":[{"vendor":"pi-hole","product":"web","name":"web","label":"web","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 6.4.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.4.1","eol":null,"hubHref":"/vendor/pi-hole/web"},{"vendor":"pi-hole","product":"web_interface","name":"web interface","label":"web_interface","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 6.4.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.4.1","eol":null,"hubHref":"/vendor/pi-hole/web_interface"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/pi-hole/web/security/advisories/GHSA-6xp4-jw73-f4qp","label":"github.com/pi-hole/web/security/advisories/GHSA-6xp4-jw73-f4qp","hostname":"github.com","tags":["X Refsource CONFIRM","Third Party Advisory"]},{"url":"https://github.com/pi-hole/web/commit/d328f143718022d82dc94c8751121ca41be3b996","label":"github.com/pi-hole/web/commit/d328f143718022d82dc94c8751121ca41be3b996","hostname":"github.com","tags":["X Refsource MISC","Patch"]},{"url":"https://github.com/pi-hole/web/releases/tag/v6.4.1","label":"github.com/pi-hole/web/releases/tag/v6.4.1","hostname":"github.com","tags":["X Refsource MISC","Release Notes"]}],"lineage":{"upstream":[],"downstream":["MGASA-2026-0383"],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-02-19T22:43:58.403Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-02-20T15:40:28.882Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":22,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T12:48:28.671Z","stale":false,"partial":false}}