Medium severity · published Jan 16, 2019
CVE-2018-20726
A cross-site scripting (XSS) vulnerability exists in host.php (via tree.php) in Cacti before 1.2.0 due to lack of escaping of unintended characters in the Website Hostname field…
5.4
CVSS
1.1%
EPSS
No
On KEV
Description
A cross-site scripting (XSS) vulnerability exists in host.php (via tree.php) in Cacti before 1.2.0 due to lack of escaping of unintended characters in the Website Hostname field for Devices.
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
Required
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)1.1% · higher than 64% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CA
Cacti · Cacti
before 1.2.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2018-20726
CVE.org
https://www.cve.org/CVERecord?id=CVE-2018-20726
lists.opensuse.org
http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00001.html
lists.opensuse.org
http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00005.html
lists.opensuse.org
http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00042.html
lists.opensuse.org
http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00048.html
Release Notes
https://github.com/Cacti/cacti/blob/develop/CHANGELOG
Patch
https://github.com/Cacti/cacti/commit/80c2a88fb2afb93f87703ba4641f9970478c102d
More from Cacti
9.8
CVE-2022-46169
Unauthenticated Command Injection
9.8
CVE-2026-40079
Cacti: Command Injection via escape_command() no-op in RRDtool execution
9.8
CVE-2026-39948
Cacti has SQL Injection via rfilter parameter in RLIKE clauses
9.8
CVE-2026-39955
Cacti has Pre-Authentication SQL Injection via unanchored FILTER_VALIDATE_REGEXP in graph_view.php
9.8
CVE-2026-39938
Cacti: Unauthenticated RCE on Graph Image
