CVE 5.4 MEDIUM

Pi-hole has a Stored HTML attribute injection_CVE-2026-33406

5.4 / 10
MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

Description

Pi-hole Admin Interface is a web interface for managing Pi-hole, a network-level ad and internet tracker blocking application. From 6.0 to before 6.5, configuration values from the /api/config endpoint are placed directly into HTML value="" attributes without escaping in settings-advanced.js, enabling HTML attribute injection. A double quote in any config value breaks out of the attribute context. JavaScript execution is blocked by the server's CSP (script-src 'self'), but injected attributes can alter element styling for UI redressing. The primary attack vector is importing a malicious teleporter backup, which bypasses per-field server-side validation. This vulnerability is fixed in 6.5.

Basic Information

ID CVE-2026-33406
Source GitHub_M
Published Apr 6, 2026 at 14:50
Modified Apr 7, 2026 at 14:08

Affected Product

Vendor pi-hole
Product web
Version >= 6.0, < 6.5
Affected Versions pi-hole web >= 6.0, < 6.5

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.