Live threats

All CVEs / Pi-hole

CVE-2020-35659Pi-hole

Medium 6.1 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Pi-hole.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
pi-holepi-hole< 5.2.2

Official sources

References

Links published by the sources. Open them with care.