Stored Cross-site Scripting in data_sources.php through Device-Name in 'select' input in Cacti
Published Sep 5, 2023
6.1
MEDIUMCVSS 3.1
EPSS 0.89%
Description
Cacti is an open source operational monitoring and fault management framework. Affected versions are subject to a Stored Cross-Site-Scripting (XSS) Vulnerability allows an authenticated user to poison data stored in the _cacti_'s database. These data will be viewed by administrative _cacti_ accounts and execute JavaScript code in the victim's browser at view-time. The `data_sources.php` script displays the data source management information (e.g. data source path, polling configuration etc.) for different data visualizations of the _cacti_ app. CENSUS found that an adversary that is able to configure a malicious Device name, can deploy a stored XSS attack against any user of the same (or broader) privileges. A user that possesses the _General Administration>Sites/Devices/Data_ permissions can configure the device names in _cacti_. This configuration occurs through `http://<HOST>/cacti/host.php`, while the rendered malicious payload is exhibited at `http://<HOST>/cacti/data_sources.php`. This vulnerability has been addressed in version 1.2.25. Users are advised to upgrade. Users unable to update should manually filter HTML output.
Affected products
-
- Version < 1.2.25StatusaffectedConstraints-
- Version
Configuration 2
- 37
- 38
-
- Version 0StatusaffectedConstraints<1.2.25
- Version
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
1 other source (GitHub) ▾
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
PoCAutomatable
NoTechnical Impact
TotalDecision
n/aAssessed Sep 26, 2024 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 3, 2026.
Score over time
2023–2026- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (12 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 3, 2026 | 0.89% (0.00889) | 57.94th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.76% (0.00758) | 50.21th | v5 (v2026.06.15) |
| Mar 30, 2025 | 0.78% (0.00780) | 71.45th | v4 (v2025.03.14) |
| Mar 29, 2025 | 1.93% (0.01931) | 72.42th | v4 (v2025.03.14) |
| Mar 17, 2025 | 0.78% (0.00780) | 72.01th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.09% (0.00090) | 40.02th | v3 (v2023.03.01) |
| Jul 10, 2024 | 0.06% (0.00056) | 23.45th | v3 (v2023.03.01) |
| Nov 4, 2023 | 0.06% (0.00056) | 21.45th | v3 (v2023.03.01) |
| Oct 21, 2023 | 0.10% (0.00100) | 40.91th | v3 (v2023.03.01) |
| Oct 13, 2023 | 0.05% (0.00050) | 16.47th | v3 (v2023.03.01) |
| Sep 9, 2023 | 0.04% (0.00045) | 12.00th | v3 (v2023.03.01) |
| Sep 6, 2023 | 0.04% (0.00043) | 6.97th | v3 (v2023.03.01) |
References (5)
- https://github.com/Cacti/cacti/security/advisories/GHSA-rwhh-xxm6-vcrv x_refsource_CONFIRMExploitVendor Advisory
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/CFH3J2WVBKY4ZJNMARVOWJQK6PSLPHFH/ Mailing List
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WOQFYGLZBAWT4AWNMO7DU73QXWPXTCKH/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WZGB2UXJEUYWWA6IWVFQ3ZTP22FIHMGN/ Mailing List
- https://www.debian.org/security/2023/dsa-5550
Change history (0)
No recorded changes yet.