CVE-2023-39512 in Cacti and 1 more product
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 execut...
Affects 2 products from 2 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, high privileges required, requires user interaction, can impact systems beyond the vulnerable component, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Cacti | Cacti | < 1.2.25 |
| Fedoraproject | Fedora | 37 38 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
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 `data_sources.php` displays the data source management information (e.g. data source path, polling configuration, device name related to the datasource 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2023-39512 |
|---|---|
| BreachSpider ID | BS-2023-GLOBAL-056094-M |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N |
| Published | 2023-09-05 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-79: Cross-Site Scripting (XSS)
Attacker injects malicious scripts into web pages viewed by other users, executing in the victim's browser context.
Related attack patterns (CAPEC)
CAPEC-85 AJAX Footprinting via CWE-79
CAPEC-209 XSS Using MIME Type Mismatch via CWE-79
CAPEC-588 DOM-Based XSS via CWE-79
CAPEC-591 Reflected XSS via CWE-79
CAPEC-592 Stored XSS via CWE-79
Show all 6
CAPEC-63 Cross-Site Scripting (XSS) via CWE-79
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
Cacti, an open source operational monitoring and fault management framework, is affected by a Stored Cross-Site-Scripting (XSS) vulnerability in certain versions. This vulnerability allows authenticated users to inject malicious scripts into the database, which can be executed in the browser of administrative accounts when they view the affected data.
The attack vector involves an authenticated user injecting malicious JavaScript code into the database through the `data_source` component. When administrative users access the affected data, the injected scripts are executed in their browser context, potentially leading to unauthorized actions or data theft.
Questions
What is CVE-2023-39512?
Cacti, an open source operational monitoring and fault management framework, is affected by a Stored Cross-Site-Scripting (XSS) vulnerability in certain versions. This vulnerability allows authenticated users to inject malicious scripts into the database, which can be executed in the browser of administrative accounts when they view the affected data.
What is the CVSS score for CVE-2023-39512?
CVE-2023-39512 has CVSS 4.8 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N. EPSS: 0.8%.
Is CVE-2023-39512 actively exploited?
No confirmed active exploitation of CVE-2023-39512 as of 2026-09-25.
How do I remediate CVE-2023-39512?
Priority: HIGH. PSIRT: [email protected]
What systems are affected by CVE-2023-39512?
CVE-2023-39512 affects Cacti Cacti; Fedoraproject Fedora.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Cacti","product":"Cacti","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.