Description
Pi-hole Admin Interface is a web interface for managing Pi-hole, a network-level advertisement and internet tracker blocking application. Pi-hole Admin Interface versions 6.2.1 and earlier are vulnerable to reflected cross-site scripting (XSS) via a malformed URL path. The 404 error page includes the requested path in the class attribute of the body tag without proper sanitization or escaping. An attacker can craft a URL containing an onload attribute that will execute arbitrary JavaScript code in the browser when a victim visits the malicious link. If an attacker sends a crafted pi-hole link to a victim and the victim visits it, attacker-controlled JavaScript code is executed in the browser of the victim. This has been patched in version 6.3.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| pi-hole | web | < 6.3 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
moezbouzayani9/Pi-hole-XSS-CVE-2025-53533 ★ 1 · Oct 26, 2025
Cross-Site-Scripting XSS in Pi-hole-CVE-2025-53533 exploit (PoC)
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- Pi-hole Reflected XSS in 404-Error Page http/cves/2025/CVE-2025-53533.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.