CVE-2020-7106 Cross-site scripting in n/a
Stored XSS in Cacti allows attackers to inject malicious scripts via description fields, potentially leading to session hijacking or code execution.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2020-7106?
CVE-2020-7106 is a medium-severity cross-site scripting vulnerability in Cacti Cacti, published on 16 Jan 2020. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Cacti 1.2.8 has stored XSS in data_sources.php, color_templates_item.php, graphs.php, graph_items.php, lib/api_automation.php, user_admin.php, and user_group_admin.php, as demonstrated by the description parameter in data_sources.php (a raw string from the database that is displayed by $header to trigger the XSS).
Weakness: CWE-79
Which versions are affected by CVE-2020-7106?
It affects 7 products.
Linux distribution packages (6)
cacti SUSE:Package Hub 12 | All versions | 1.2.12-bp151.4.9.1 |
cacti-spine SUSE:Package Hub 12 | All versions | 1.2.12-bp151.4.9.1 |
cacti SUSE:Package Hub 15 SP1 | All versions | 1.2.12-bp151.4.9.1 |
cacti-spine SUSE:Package Hub 15 SP1 | All versions | 1.2.12-bp151.4.9.1 |
cacti openSUSE:Leap 15.1 | All versions | 1.2.12-bp151.4.9.1 |
cacti-spine openSUSE:Leap 15.1 | All versions | 1.2.12-bp151.4.9.1 |
Products include Cacti Cacti, Debian Debian Linux, Fedoraproject Extra Packages for Enterprise Linux, Fedoraproject Fedora, Opensuse Backports Sle, Opensuse Leap and 1 more.
How do I fix CVE-2020-7106?
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-2020-7106 being exploited?
There is no known exploitation of CVE-2020-7106 in the wild and no public exploit code.
Other vulnerabilities in Cacti Cacti
- CVE-2022-46169 Cacti Command Injection
- CVE-2026-39893 Cacti: Pre-authentication SQL injection via rfilter RLIKE clause in graph_view.php
- CVE-2026-39938 Cacti: Unauthenticated RCE on Graph Image
- CVE-2026-39955 Cacti has Pre-Authentication SQL Injection via unanchored FILTER_VALIDATE_REGEXP in graph_view.php
- CVE-2023-39361 Unauthenticated SQL Injection in graph_view.php in Cacti
Sources
Also known as DEBIAN-CVE-2020-7106, DLA-2069-1, GHSA-4x8f-h58h-jh6h, UBUNTU-CVE-2020-7106, openSUSE-SU-2020:0654-1.