CVE-2020-35592 Cross-site scripting in n/a

Medium 5.4 Published Updated

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.

Sources

Also known as GHSA-722q-8x49-8j55.

Is CVE-2020-35592 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free