CVE-2020-35592 Cross-site scripting in n/a
Remote attackers can inject scripts via the Options header in Pi-hole's admin interface to steal session cookies from other users.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2020-35592?
CVE-2020-35592 is a medium-severity cross-site scripting vulnerability in n/a, published on 18 Feb 2021. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
Pi-hole 5.0, 5.1, and 5.1.1 allows XSS via the Options header to the admin/ URI. A remote user is able to inject arbitrary web script or HTML due to incorrect sanitization of user-supplied data and achieve a Reflected Cross-Site Scripting attack against other users and steal the session cookie.
Weakness: CWE-79
Which versions are affected by CVE-2020-35592?
It affects 1 product.
Products include Pi-Hole Pi-Hole.
How do I fix CVE-2020-35592?
No fix has been published for CVE-2020-35592 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2020-35592 being exploited?
There is no known exploitation of CVE-2020-35592 in the wild and no public exploit code.
Other vulnerabilities in n/a
- CVE-2020-8816 Pi-Hole AdminLTE Remote Code Execution
- CVE-2025-34087 Pi-Hole AdminLTE Whitelist (now 'Web Allowlist') Remote Command Execution
- CVE-2026-50130 Pi-hole: Local privilege escalation from `pihole` user to root via `/etc/pihole/logrotate`
- CVE-2020-11108 File upload in n/a
- CVE-2019-13051 Pi-Hole 4.3 allows Command Injection.
Sources
Also known as GHSA-722q-8x49-8j55.