{"id":"CVE-2023-39514","summary":"Stored Cross-site Scripting on graphs.php data template formated name view in Cacti","details":"Cacti is an open source operational monitoring and fault management framework. Affected versions are subject to a Stored Cross-Site-Scripting (XSS) Vulnerability which 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 script under `graphs.php` displays graph details such as data-source paths, data template information and graph related fields. _CENSUS_ found that an adversary that is able to configure either a data-source template with malicious code appended in the data-source name or a device with a malicious payload injected in the device name, may deploy a stored XSS attack against any user with _General Administration\u003eGraphs_ privileges. A user that possesses the _Template Editor\u003eData Templates_ permissions can configure the data-source name in _cacti_. Please note that this may be a _low privileged_ user. This configuration occurs through `http://\u003cHOST\u003e/cacti/data_templates.php` by editing an existing or adding a new data template. If a template is linked to a graph then the formatted template name will be rendered in the graph's management page. A user that possesses the _General Administration\u003eSites/Devices/Data_ permissions can configure the device name in _cacti_. This vulnerability has been addressed in version 1.2.25. Users are advised to upgrade. Users unable to upgrade should add manual HTML escaping.","aliases":["GHSA-6hrc-2cfc-8hm7"],"modified":"2026-04-10T04:59:30.619550Z","published":"2023-09-05T20:02:02.125Z","related":["openSUSE-SU-2023:0275-1","openSUSE-SU-2024:13203-1"],"database_specific":{"cna_assigner":"GitHub_M","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/39xxx/CVE-2023-39514.json","cwe_ids":["CWE-79"]},"references":[{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/CFH3J2WVBKY4ZJNMARVOWJQK6PSLPHFH/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WOQFYGLZBAWT4AWNMO7DU73QXWPXTCKH/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WZGB2UXJEUYWWA6IWVFQ3ZTP22FIHMGN/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/39xxx/CVE-2023-39514.json"},{"type":"ADVISORY","url":"https://github.com/Cacti/cacti/security/advisories/GHSA-6hrc-2cfc-8hm7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-39514"},{"type":"ADVISORY","url":"https://www.debian.org/security/2023/dsa-5550"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/cacti/cacti","events":[{"introduced":"0"},{"fixed":"18500fa313a9f1ee1be48aa111c0eeea001010fa"}]}],"versions":["releaes/1.2.19","release/1.0.0","release/1.0.1","release/1.0.2","release/1.0.3","release/1.0.4","release/1.0.5","release/1.0.6","release/1.1.0","release/1.1.1","release/1.1.11","release/1.1.12","release/1.1.13","release/1.1.14","release/1.1.15","release/1.1.16","release/1.1.17","release/1.1.18","release/1.1.19","release/1.1.2","release/1.1.20","release/1.1.21","release/1.1.22","release/1.1.23","release/1.1.24","release/1.1.25","release/1.1.26","release/1.1.27","release/1.1.28","release/1.1.29","release/1.1.3","release/1.1.30","release/1.1.31","release/1.1.32","release/1.1.33","release/1.1.34","release/1.1.35","release/1.1.36","release/1.1.37","release/1.1.38","release/1.1.4","release/1.1.5","release/1.1.6","release/1.1.7","release/1.1.8","release/1.2.0","release/1.2.1","release/1.2.10","release/1.2.11","release/1.2.12","release/1.2.13","release/1.2.14","release/1.2.15","release/1.2.16","release/1.2.17","release/1.2.18","release/1.2.19","release/1.2.2","release/1.2.20","release/1.2.21","release/1.2.22","release/1.2.23","release/1.2.24","release/1.2.3","release/1.2.4","release/1.2.5","release/1.2.6","release/1.2.7","release/1.2.8","release/1.2.9"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-39514.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N"}]}