Skip to content
Fencer Vulns
medium 5.4

CVE-2018-20726 json

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 ch…

published 2019-01-16 7 y ago modified 2026-06-17 4 mo ago also EUVD-2018-13271

cvss
5.4
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
1.1%
EPSS 1.1% chance of exploitation in 30 days, percentile 64%
public exploits
0
none known

Summary

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.

Patch / fix

  • cacti cacti 1.2.0
  • cacti Debian 14, Debian 13, Debian 12 1.2.1+ds1-1

debian advisories DEBIAN-CVE-2018-20726

  • cacti openSUSE Tumbleweed 1.2.18-1.2
  • cacti-spine Package Hub 15 SP1 1.2.11-bp151.4.6.1
  • cacti Package Hub 15 SP1 1.2.11-bp151.4.6.1
  • cacti-spine Package Hub 12, openSUSE Leap 15.1 1.2.11-2.1
  • cacti Package Hub 12, openSUSE Leap 15.1 1.2.11-5.1
  • cacti-spine Package Hub 15 SP1 1.2.9-bp151.4.3.1
  • cacti Package Hub 15 SP1 1.2.9-bp151.4.3.1
  • cacti-spine openSUSE Leap 15.1 1.2.9-lp151.3.3.1

opensuse advisories openSUSE-SU-2024:10670-1openSUSE-SU-2020:0565-1openSUSE-SU-2020:0558-1openSUSE-SU-2020:0284-1openSUSE-SU-2020:0272-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2018-20726 updated cvss 6.1

cacti: Multiple cross-site scripting vulnerabilities fixed in 1.2.0 version

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

1.05% chance of exploitation in the next 30 days, higher than 64% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • github.com https://github.com/Cacti/cacti/issues/2213 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.0 5.4 CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
NVD 2.0 3.5 AV:N/AC:M/Au:S/C:N/I:P/A:N

Classification

Weakness
  • CWE-79 Improper Neutralization of Input During Web Page Generation

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.