{"id":"CVE-2020-35659","state":"PUBLISHED","title":"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 arbitrar","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.","publishedAt":"2020-12-24T15:59:04.000Z","updatedAt":"2024-08-04T17:09:14.618Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://github.com/pi-hole/AdminLTE/pull/1665","https://discourse.pi-hole.net/t/pi-hole-core-web-v5-2-2-and-ftl-v5-3-3-released/41998","https://blog.mirch.io/2020/12/24/pihole-xss/"],"weaknesses":[],"ingestedAt":"2026-10-29T19:47:21.880Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2020/35xxx/CVE-2020-35659.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2020-35659","state":"PUBLISHED","datePublished":"2020-12-24T15:59:04.000Z","dateUpdated":"2024-08-04T17:09:14.618Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2020-12-23T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://github.com/pi-hole/AdminLTE/pull/1665","tags":["x_refsource_MISC"]},{"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"]},{"url":"https://blog.mirch.io/2020/12/24/pihole-xss/","tags":["x_refsource_MISC"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2020-12-26T00:54:39.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2020-35659","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://github.com/pi-hole/AdminLTE/pull/1665","refsource":"MISC","url":"https://github.com/pi-hole/AdminLTE/pull/1665"},{"name":"https://discourse.pi-hole.net/t/pi-hole-core-web-v5-2-2-and-ftl-v5-3-3-released/41998","refsource":"CONFIRM","url":"https://discourse.pi-hole.net/t/pi-hole-core-web-v5-2-2-and-ftl-v5-3-3-released/41998"},{"name":"https://blog.mirch.io/2020/12/24/pihole-xss/","refsource":"MISC","url":"https://blog.mirch.io/2020/12/24/pihole-xss/"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/pi-hole/AdminLTE/pull/1665","tags":["x_refsource_MISC","x_transferred"]},{"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"]},{"url":"https://blog.mirch.io/2020/12/24/pihole-xss/","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T17:09:14.618Z"}}]}}}