{"id":"CVE-2020-35659","aliases":["EUVD-2020-23322","GHSA-3mr8-6hjm-446f"],"status":"published","title":"The DNS query log in Pi-hole before 5.2.2 is vulnerable to stored XSS. An attacker with the...","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.","severity":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.00952,"percentile":0.61581,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-79"],"published":"2020-12-24T15:59:04Z","modified":"2026-10-24T10:50:39Z","products":[{"vendor":"pi-hole","product":"pi-hole"}],"references":[{"url":"https://github.com/pi-hole/AdminLTE/pull/1665","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix"]},{"url":"https://discourse.pi-hole.net/t/pi-hole-core-web-v5-2-2-and-ftl-v5-3-3-released/41998","tags":["x_refsource_CONFIRM","x_transferred","Release Notes","Vendor Advisory","advisory"]},{"url":"https://blog.mirch.io/2020/12/24/pihole-xss/","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-35659"},{"url":"https://github.com/advisories/GHSA-3mr8-6hjm-446f"}],"sources":{"cve":[{"id":"CVE-2020-35659","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.","status":"published","published":"2020-12-24T15:59:04Z","modified":"2024-08-04T17:09:14.618Z","updated_at":"2026-11-02T14:35:57.975444Z"}],"euvd":[{"id":"EUVD-2020-23322","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.","status":"published","published":"2020-12-24T15:59:04Z","modified":"2024-08-04T17:09:14Z","updated_at":"2026-11-03T03:07:05.848444Z"}],"ghsa":[{"id":"GHSA-3mr8-6hjm-446f","title":"The DNS query log in Pi-hole before 5.2.2 is vulnerable to stored XSS. An attacker with the...","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.","status":"published","published":"2022-05-24T17:37:16Z","modified":"2023-01-29T05:05:08Z","cwes":["CWE-79"],"updated_at":"2026-11-02T14:45:43.003111Z"}],"nvd":[{"id":"CVE-2020-35659","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.","status":"published","published":"2020-12-24T16:15:15.49Z","modified":"2026-06-17T03:14:05.113Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:06:28.340168Z"}],"osv":[{"id":"CVE-2020-35659","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.","status":"published","published":"2020-12-24T16:15:15.49Z","modified":"2026-10-24T10:50:39.057280465Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:16.612899Z"}]}}
