CVE-2018-20725
A cross-site scripting (XSS) vulnerability exists in graph_templates.php in Cacti before 1.2.0...
A cross-site scripting (XSS) vulnerability exists in graph_templates.php in Cacti before 1.2.0 due to lack of escaping of unintended characters in the Graph Vertical Label.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- High
- User interaction
- Required
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
4.8
A cross-site scripting (XSS) vulnerability exists in graph_templates.php in Cacti before 1.2.0 due to lack of escaping of unintended characters in the Graph Vertical Label.
- Record
CVE-2018-20725- CVSS 3.0
- 4.8 Medium
CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N - CVSS 2.0
- 3.5 Low
AV:N/AC:M/Au:S/C:N/I:P/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
CVE List No score
A cross-site scripting (XSS) vulnerability exists in graph_templates.php in Cacti before 1.2.0 due to lack of escaping of unintended characters in the Graph Vertical Label.
- Record
CVE-2018-20725- Updated
- 2026-11-02
EUVDEUVD-2018-13270 No score
A cross-site scripting (XSS) vulnerability exists in graph_templates.php in Cacti before 1.2.0 due to lack of escaping of unintended characters in the Graph Vertical Label.
- Record
EUVD-2018-13270- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-rpc3-5pr4-95g6
4.8
A cross-site scripting (XSS) vulnerability exists in graph_templates.php in Cacti before 1.2.0...
A cross-site scripting (XSS) vulnerability exists in graph_templates.php in Cacti before 1.2.0 due to lack of escaping of unintended characters in the Graph Vertical Label.
- Record
GHSA-rpc3-5pr4-95g6- CVSS 3.0
- 4.8 Medium
CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
OSV
4.8
A cross-site scripting (XSS) vulnerability exists in graph_templates.php in Cacti before 1.2.0 due to lack of escaping of unintended characters in the Graph Vertical Label.
- Record
CVE-2018-20725- CVSS 3.0
- 4.8 Medium
CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N - Updated
- 2026-11-02
OSVDEBIAN-CVE-2018-20725
4.8
A cross-site scripting (XSS) vulnerability exists in graph_templates.php in Cacti before 1.2.0 due to lack of escaping of unintended characters in the Graph Vertical Label.
- Record
DEBIAN-CVE-2018-20725- CVSS 3.0
- 4.8 Medium
CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N - Updated
- 2026-11-02
Show 6 moreShow less
OSVUBUNTU-CVE-2018-20725
4.8
A cross-site scripting (XSS) vulnerability exists in graph_templates.php in Cacti before 1.2.0 due to lack of escaping of unintended characters in the Graph Vertical Label.
- Record
UBUNTU-CVE-2018-20725- CVSS 3.0
- 4.8 Medium
CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N - Updated
- 2026-11-02
OSVopenSUSE-SU-2020:0272-1 No score
Security update for cacti, cacti-spine
This update for cacti, cacti-spine fixes the following issues:
cacti-spine was updated to version 1.2.9.
Security issues fixed:
- CVE-2009-4112: Fixed a privilege escalation (bsc#1122535).
- CVE-2018-20723: Fixed a cross-site scripting (XSS) vulnerability (bsc#1122245).
- CVE-2018-20724: Fixed a cross-site scripting (XSS) vulnerability (bsc#1122244).
- CVE-2018-20725: Fixed a privilege escalation that could occur under certain conditions (bsc#1122535).
- CVE-2018-20726: Fixed a cross-site scripting (XSS) vulnerability (bsc#1122242).
- CVE-2019-16723: Fixed an authentication bypass vulnerability.
- CVE-2019-17357: Fixed an SQL injection vulnerability (bsc#1158990).
- CVE-2019-17358: Fixed an unsafe deserialization in sanitize_unserialize_selected_items (bsc#1158992).
- CVE-2020-7106: Fixed a potential cross-site scripting (XSS) vulnerability (bsc#1163749).
- CVE-2020-7237: Fixed a remote code execution that affected privileged users via shell metacharacters in the Performance Boost Debug Log field (bsc#1161297).
Non-security issues fixed:
- Fixed missing packages php-json, php-ctype, and php-gd in cacti.spec (boo#1101024).
- Fixed Apache2.4 and Apache2.2 runtime configuration issue (boo#1101139).
- Record
openSUSE-SU-2020:0272-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2020:0284-1 No score
Security update for cacti, cacti-spine
This update for cacti, cacti-spine fixes the following issues:
cacti-spine was updated to version 1.2.9.
Security issues fixed:
- CVE-2009-4112: Fixed a privilege escalation (bsc#1122535).
- CVE-2018-20723: Fixed a cross-site scripting (XSS) vulnerability (bsc#1122245).
- CVE-2018-20724: Fixed a cross-site scripting (XSS) vulnerability (bsc#1122244).
- CVE-2018-20725: Fixed a privilege escalation that could occur under certain conditions (bsc#1122535).
- CVE-2018-20726: Fixed a cross-site scripting (XSS) vulnerability (bsc#1122242).
- CVE-2019-16723: Fixed an authentication bypass vulnerability.
- CVE-2019-17357: Fixed an SQL injection vulnerability (bsc#1158990).
- CVE-2019-17358: Fixed an unsafe deserialization in sanitize_unserialize_selected_items (bsc#1158992).
- CVE-2020-7106: Fixed a potential cross-site scripting (XSS) vulnerability (bsc#1163749).
- CVE-2020-7237: Fixed a remote code execution that affected privileged users via shell metacharacters in the Performance Boost Debug Log field (bsc#1161297).
Non-security issues fixed:
- Fixed missing packages php-json, php-ctype, and php-gd in cacti.spec (boo#1101024).
- Fixed Apache2.4 and Apache2.2 runtime configuration issue (boo#1101139).
This update was imported from the openSUSE:Leap:15.1:Update update project.
- Record
openSUSE-SU-2020:0284-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2020:0558-1 No score
Security update for cacti, cacti-spine
This update for cacti, cacti-spine to version 1.2.11 fixes the following issues:
This update is fixing multiple vulnerabilities and adding bug fixes. For more details consult the changes file.
- Record
openSUSE-SU-2020:0558-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2020:0565-1 No score
Security update for cacti, cacti-spine
This update for cacti, cacti-spine to version 1.2.11 fixes the following issues:
This update is fixing multiple vulnerabilities and adding bug fixes. For more details consult the changes file.
This update was imported from the openSUSE:Leap:15.1:Update update project.
- Record
openSUSE-SU-2020:0565-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10670-1 No score
cacti-1.2.18-1.2 on GA media
These are all security issues fixed in the cacti-1.2.18-1.2 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10670-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
cactiDebian:12 |
before 1.2.1+ds1-1 | 1.2.1+ds1-1 |
cactiDebian:13 |
before 1.2.1+ds1-1 | 1.2.1+ds1-1 |
cactiDebian:14 |
before 1.2.1+ds1-1 | 1.2.1+ds1-1 |
cactiUbuntu:Pro:14.04:LTS |
All versions, plus listed versions 0.8.8b+dfsg-30.8.8b+dfsg-50.8.8b+dfsg-5ubuntu0.10.8.8b+dfsg-5ubuntu0.20.8.8b+dfsg-5ubuntu0.2+esm10.8.8b+dfsg-5ubuntu0.2+esm2 |
None known |
cactiUbuntu:Pro:16.04:LTS |
All versions, plus listed versions 0.8.8f+ds1-20.8.8f+ds1-30.8.8f+ds1-40.8.8f+ds1-4ubuntu10.8.8f+ds1-4ubuntu2 Show 7 moreShow less0.8.8f+ds1-4ubuntu30.8.8f+ds1-4ubuntu40.8.8f+ds1-4ubuntu4.16.040.8.8f+ds1-4ubuntu4.16.04.10.8.8f+ds1-4ubuntu4.16.04.20.8.8f+ds1-4ubuntu4.16.04.2+esm10.8.8f+ds1-4ubuntu4.16.04.2+esm2 |
None known |
cactiUbuntu:Pro:18.04:LTS |
All versions, plus listed versions 1.1.18+ds1-11.1.27+ds1-21.1.27+ds1-31.1.28+ds1-21.1.35+ds1-1 Show 5 moreShow less1.1.36+ds1-11.1.38+ds1-11.1.38+ds1-1ubuntu0.1~esm11.1.38+ds1-1ubuntu0.1~esm31.1.38+ds1-1ubuntu0.1~esm4 |
None known |
cactiopenSUSE:Leap 15.1 From an advisory covering 10 CVEs |
before 1.2.9-lp151.3.3.1 | 1.2.9-lp151.3.3.1 |
cacti-spineopenSUSE:Leap 15.1 From an advisory covering 10 CVEs |
before 1.2.9-lp151.3.3.1 | 1.2.9-lp151.3.3.1 |
cactiSUSE:Package Hub 15 SP1 From an advisory covering 10 CVEs |
before 1.2.9-bp151.4.3.1 | 1.2.9-bp151.4.3.1 |
cacti-spineSUSE:Package Hub 15 SP1 From an advisory covering 10 CVEs |
before 1.2.9-bp151.4.3.1 | 1.2.9-bp151.4.3.1 |
Show 7 moreShow less
| Package | Affected | Fixed |
|---|---|---|
cactiSUSE:Package Hub 12 From an advisory covering 11 CVEs |
before 1.2.11-5.1 | 1.2.11-5.1 |
cacti-spineSUSE:Package Hub 12 From an advisory covering 11 CVEs |
before 1.2.11-2.1 | 1.2.11-2.1 |
cactiopenSUSE:Leap 15.1 From an advisory covering 11 CVEs |
before 1.2.11-5.1 | 1.2.11-5.1 |
cacti-spineopenSUSE:Leap 15.1 From an advisory covering 11 CVEs |
before 1.2.11-2.1 | 1.2.11-2.1 |
cactiSUSE:Package Hub 15 SP1 From an advisory covering 11 CVEs |
before 1.2.11-bp151.4.6.1 | 1.2.11-bp151.4.6.1 |
cacti-spineSUSE:Package Hub 15 SP1 From an advisory covering 11 CVEs |
before 1.2.11-bp151.4.6.1 | 1.2.11-bp151.4.6.1 |
cactiopenSUSE:Tumbleweed From an advisory covering 31 CVEs |
before 1.2.18-1.2 | 1.2.18-1.2 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2018-20725 is a medium vulnerability (CVSS 4.8) in Cacti, published January 16, 2019. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.03%, the 63rd percentile. Fixed in cacti 1.2.1+ds1-1.
References
github.com/Cacti/cacti/commit/80c2a88fb2afb93f87703ba4641f9970478c102d
github.com/Cacti/cacti/blob/develop/CHANGELOG
github.com/Cacti/cacti/issues/2214
lists.opensuse.org/opensuse-security-announce/2020-03/msg00001.html
lists.opensuse.org/opensuse-security-announce/2020-03/msg00005.html
lists.opensuse.org/opensuse-security-announce/2020-04/msg00042.html
Show 55 moreShow less
lists.opensuse.org/opensuse-security-announce/2020-04/msg00048.html
nvd.nist.gov/vuln/detail/CVE-2018-20725
github.com/advisories/GHSA-rpc3-5pr4-95g6
security-tracker.debian.org/tracker/CVE-2018-20725
ubuntu.com/security/CVE-2018-20725
cve.org/CVERecord?id=CVE-2018-20725
lists.opensuse.org/archives/list/[email protected]/thread/QJH5OTPHSPMFV4CORKBXMWKMQWVD3CC5
bugzilla.suse.com/1082318
bugzilla.suse.com/1101024
bugzilla.suse.com/1101139
bugzilla.suse.com/1122242
bugzilla.suse.com/1122243
bugzilla.suse.com/1122244
bugzilla.suse.com/1122245
bugzilla.suse.com/1122535
bugzilla.suse.com/1158990
bugzilla.suse.com/1158992
bugzilla.suse.com/1161297
bugzilla.suse.com/1163749
suse.com/security/cve/CVE-2009-4112
suse.com/security/cve/CVE-2018-20723
suse.com/security/cve/CVE-2018-20724
suse.com/security/cve/CVE-2018-20725
suse.com/security/cve/CVE-2018-20726
suse.com/security/cve/CVE-2019-16723
suse.com/security/cve/CVE-2019-17357
suse.com/security/cve/CVE-2019-17358
suse.com/security/cve/CVE-2020-7106
suse.com/security/cve/CVE-2020-7237
lists.opensuse.org/archives/list/[email protected]/thread/E42YKBXB3DG7EDJCOOGLDZ757NRYDL6I
lists.opensuse.org/archives/list/[email protected]/thread/I7VM65WPOCAD6HUODTOBDF4DOY2KSANI
bugzilla.suse.com/1164675
bugzilla.suse.com/1169215
suse.com/security/cve/CVE-2020-8813
lists.opensuse.org/archives/list/[email protected]/thread/ZCYZNXPQBT3RNEEVMDXCIG76SLTOPTF5
suse.com/security/cve/CVE-2006-6799
suse.com/security/cve/CVE-2007-3112
suse.com/security/cve/CVE-2014-4000
suse.com/security/cve/CVE-2017-10970
suse.com/security/cve/CVE-2017-11163
suse.com/security/cve/CVE-2017-11691
suse.com/security/cve/CVE-2017-12065
suse.com/security/cve/CVE-2017-12927
suse.com/security/cve/CVE-2017-12978
suse.com/security/cve/CVE-2017-15194
suse.com/security/cve/CVE-2017-16641
suse.com/security/cve/CVE-2017-16660
suse.com/security/cve/CVE-2017-16661
suse.com/security/cve/CVE-2017-16785
suse.com/security/cve/CVE-2020-11022
suse.com/security/cve/CVE-2020-13625
suse.com/security/cve/CVE-2020-14295
suse.com/security/cve/CVE-2020-14424
suse.com/security/cve/CVE-2020-25706
suse.com/security/cve/CVE-2020-35701