CVE-2021-3816 Cross-site scripting in Cacti

Medium 5.4 Published Updated

Authenticated users with User Management permissions can inject arbitrary HTML into group settings, potentially leading to session hijacking or malicious script execution.

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
Available

What is CVE-2021-3816?

CVE-2021-3816 is a medium-severity cross-site scripting vulnerability in Cacti Cacti, published on 19 Jan 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Cacti 1.1.38 allows authenticated users with User Management permissions to inject arbitrary HTML in the group_prefix field during the creation of a new group via "Copy" method at user_group_admin.php.

Weakness: CWE-79

Which versions are affected by CVE-2021-3816?

It affects 1 product.

Products include Cacti Cacti.

How do I fix CVE-2021-3816?

Upgrade to a fixed version.

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-3816 being exploited?

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

All Cacti Cacti vulnerabilities

Sources

Also known as DEBIAN-CVE-2021-3816, GHSA-6gq5-766m-4c86, UBUNTU-CVE-2021-3816.

Is CVE-2021-3816 in your software?

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

Check your SBOMs for free