CVE-2021-3812 Cross-site Scripting (XSS) - Reflected in pi-hole/adminlte

Medium 6.7 Published Updated

Reflected Cross-Site Scripting in the Pi-hole admin interface allows attackers to execute arbitrary scripts in victim browsers.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-3812?

CVE-2021-3812 is a medium-severity cross-site scripting vulnerability in pi-hole/adminlte, published on 17 Sep 2021. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

adminlte is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Weakness: CWE-79

Which versions are affected by CVE-2021-3812?

It affects 1 product.

Products include Pi-Hole Web Interface.

How do I fix CVE-2021-3812?

No fix has been published for CVE-2021-3812 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-2021-3812 being exploited?

There is no known exploitation of CVE-2021-3812 in the wild and no public exploit code.

Sources

Is CVE-2021-3812 in your software?

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

Check your SBOMs for free