Description
The DNS query log in Pi-hole before 5.2.2 is vulnerable to stored XSS. An attacker with the ability to directly or indirectly query DNS with a malicious hostname can cause arbitrary JavaScript to execute when the Pi-hole administrator visits the Query Log or Long-term data Query Log page.
Metrics
CVSS 3.1 6.1/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- https://blog.mirch.io/2020/12/24/pihole-xss/Third Party Advisory
- https://discourse.pi-hole.net/t/pi-hole-core-web-v5-2-2-and-ftl-v5-3-3-released/41998Release Notes, Vendor Advisory
- https://github.com/pi-hole/AdminLTE/pull/1665Patch, Third Party Advisory
- https://blog.mirch.io/2020/12/24/pihole-xss/Third Party Advisory
- https://discourse.pi-hole.net/t/pi-hole-core-web-v5-2-2-and-ftl-v5-3-3-released/41998Release Notes, Vendor Advisory
- https://github.com/pi-hole/AdminLTE/pull/1665Patch, Third Party Advisory
Timeline
- Published
- Dec 24, 2020
- Last modified
- Jun 17, 2026
- NVD status
- Modified