CVE-2020-35659Pi-hole
Medium 6.1 No auth needed
Follow: this CVE · Pi-hole · Pi-hole We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- 1.0% probability of exploitation in 30 days · percentile 62
- Auth required
- No
- Published
- Dec 24, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Pi-hole.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| pi-hole | pi-hole | < 5.2.2 |
Official sources
References
Links published by the sources. Open them with care.
- blog.mirch.io Third Party Advisory
- discourse.pi-hole.net Release Notes Vendor Advisory
- github.com Patch Third Party Advisory