{"id":"CVE-2020-35659","aliases":["CVE-2020-35659"],"related":[],"kind":"vulnerability","state":"published","title":"The DNS query log in Pi-hole before 5.2.2 is vulnerable to stored XSS.","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"El registro de consultas DNS en Pi-hole versiones anteriores a 5.2.2, es vulnerable a un ataque XSS almacenado.&#xa0;Un atacante con la capacidad de consultar directa o indirectamente el DNS con un hostname malicioso puede causar que se ejecute un JavaScript arbitrario cuando el administrador de Pi-hole visita la página Query Log o Long-term data Query Log","source":"nvd"}],"published":"2020-12-24T15:59:04.000Z","modified":"2026-06-17T03:14:05.113Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"status":"affected","fixed":"5.2.2"}],"vendor":"pi-hole","product":"pi-hole","cpe":"cpe:2.3:a:pi-hole:pi-hole:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/pi-hole/AdminLTE/pull/1665","tags":["patch","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://discourse.pi-hole.net/t/pi-hole-core-web-v5-2-2-and-ftl-v5-3-3-released/41998","tags":["release-notes","vendor-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://blog.mirch.io/2020/12/24/pihole-xss/","tags":["third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-35659","url":"https://www.cve.org/CVERecord?id=CVE-2020-35659","licence":"CVE Terms of Use","modified":"2024-08-04T17:09:14.618Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-35659","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-35659","licence":"Public domain","modified":"2026-06-17T03:14:05.113Z"}],"updatedAt":"2026-11-25T22:57:56.394Z","epss":{"score":0.00952,"percentile":0.62345,"date":"2026-12-01T12:00:22.000Z"}}