Home / Cacti / cacti / CVE-2023-39366
CVE-2023-39366: is it exploited, and which versions of cacti are affected and fixed?
CVE-2023-39366 is a cross-site scripting (XSS) vulnerability in cacti. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 09:08 UTC). Affected: cacti < 1.2.25 (CVE record by GitHub_M). Fixed in 1.2.25 (NVD). Severity: Medium (6.1, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 09:08 UTC, CVE record November 19, 2026, 07:12 UTC and NVD November 19, 2026, 07:36 UTC.
What is CVE-2023-39366?
Stored Cross-site Scripting in data_sources.php through Device-Name in 'select' input in Cacti
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.
From the CVE record by GitHub_M, last updated February 13, 2025, 17:03 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Cacti | cacti | < 1.2.25 |
As the CVE record by GitHub_M states it, last updated February 13, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| cacti | cacti | from 1.2.0 before 1.2.25 | application |
| fedoraproject | fedora | 37 | operating system |
| fedoraproject | fedora | 38 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 06:12 UTC.
How severe is CVE-2023-39366?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N | GitHub_M |
| Medium 4.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2023-39366 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: total (CISA ADP, September 26, 2024)
- EPSS
- 0.89% probability of exploitation activity in the next 30 days, percentile 60.4 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
Where are the vendor advisories and references?
- https://github.com/Cacti/cacti/security/advisories/GHSA-rwhh-xxm6-vcrv x_refsource_CONFIRM
- https://lists.fedoraproject.org/archives/list/[email protected]/message/WZGB2UXJEUYWWA6IWVFQ3ZTP22FIHMGN/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/CFH3J2WVBKY4ZJNMARVOWJQK6PSLPHFH/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/WOQFYGLZBAWT4AWNMO7DU73QXWPXTCKH/
- https://www.debian.org/security/2023/dsa-5550
When was it published, and where is the official record?
- Reserved
- July 28, 2023
- Published
- September 5, 2023, 20:42 UTC
- CVE record updated
- February 13, 2025, 17:03 UTC by GitHub_M
- NVD
- Modified, last modified June 17, 2026, 06:12 UTC
- Last checked
- CVE list November 19, 2026, 07:12 UTC; NVD November 19, 2026, 07:36 UTC; KEV December 3, 2026, 09:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect cacti?
- Dec 5, 2022CVE-2022-46169 cacti: injection exploited
- Oct 23, 2026CVE-2026-49442 cacti: observable Response Discrepancy
- Oct 23, 2026CVE-2026-39902 cacti: OS command injection
- Oct 23, 2026CVE-2026-46531 cacti: SQL injection
- Aug 5, 2026CVE-2026-71287 cacti: SQL injection
- Jun 25, 2026CVE-2026-40941 cacti: cryptographic signature not verified
- Jun 25, 2026CVE-2026-40084 cacti: path traversal (reading or writing files outside the intended folder)
- Jun 25, 2026CVE-2026-40083 cacti: SQL injection
Questions about CVE-2023-39366
Is CVE-2023-39366 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 09:08 UTC. FIRST's EPSS gives it a 0.89% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of cacti are affected by CVE-2023-39366?
cacti < 1.2.25, per the CVE record by GitHub_M. The tables above give every range the sources list.
Which version fixes CVE-2023-39366?
1.2.25, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2023-39366?
Medium (6.1, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2023-39366?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.