CVE-2026-33406: Pi-hole has a Stored HTML attribute injection

Published Apr 6, 2026
·
Updated

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.

Affected Software

2 affected components
Pi-hole Pi-hole Admin Interface>=6.0<6.5
Pi-hole Web interface>=6.0<=6.4.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Pi-hole Admin Interface to a version that resolves this vulnerability.

    Fixed in 6.5

Event History

Apr 6, 2026
CVE Published
via MITRE·02:50 PM
Data Sourced
via MITRE·02:50 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:17 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-33406?

CVE-2026-33406 has a medium severity rating due to its potential for exploitation via stored HTML attribute injection.

2

How do I fix CVE-2026-33406?

To fix CVE-2026-33406, upgrade your Pi-hole Admin Interface to version 6.5 or later.

3

What versions of Pi-hole are affected by CVE-2026-33406?

CVE-2026-33406 affects Pi-hole Admin Interface versions from 6.0 up to and including 6.4.1.

4

What impact does CVE-2026-33406 have on Pi-hole users?

CVE-2026-33406 could allow attackers to inject malicious code into the Pi-hole Admin Interface, compromising the security of the application.

5

Is there a workaround for CVE-2026-33406?

Currently, the best mitigation for CVE-2026-33406 is to upgrade to the latest version, as there are no known workarounds.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203