CVE-2025-45160 in Cacti products
A HTML injection vulnerability exists in the file upload functionality of Cacti <= 1.2.29. When a file with an invalid format is uploaded, the application reflects the submitted filename back into an error popup without proper sanitization. As a result, attackers can inject arbitrary HTML elements (e.g., <h1>, <b>, ...
Affects 0 products from 2 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, no availability impact.
Affected products and versions
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.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
A HTML injection vulnerability exists in the file upload functionality of Cacti <= 1.2.29. When a file with an invalid format is uploaded, the application reflects the submitted filename back into an error popup without proper sanitization. As a result, attackers can inject arbitrary HTML elements (e.g., <h1>, <b>, <svg>) into the rendered page. NOTE: Multiple third-parties including the maintainer have stated that they cannot reproduce this issue after 1.2.27.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-45160 |
|---|---|
| BreachSpider ID | BS-2026-GLOBAL-260900-M |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
| Published | 2026-01-29 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-80: CWE-80
Related attack patterns (CAPEC)
CAPEC-18 XSS Targeting Non-Script Elements via CWE-80
CAPEC-32 XSS Through HTTP Query Strings via CWE-80
CAPEC-86 XSS Through HTTP Headers via CWE-80
CAPEC-193 PHP Remote File Inclusion via CWE-80
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A HTML injection vulnerability exists in the file upload functionality of Cacti versions up to 1.2.29, allowing attackers to inject arbitrary HTML elements into error popups.
The vulnerability arises from the application reflecting the submitted filename back into an error popup without proper sanitization when an invalid file format is uploaded. Attackers can exploit this to inject HTML elements, potentially leading to further attacks such as cross-site scripting (XSS).
Questions
What is CVE-2025-45160?
A HTML injection vulnerability exists in the file upload functionality of Cacti versions up to 1.2.29, allowing attackers to inject arbitrary HTML elements into error popups.
What is the CVSS score for CVE-2025-45160?
CVE-2025-45160 has CVSS 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N. EPSS: 0.3%.
Is CVE-2025-45160 actively exploited?
No confirmed active exploitation of CVE-2025-45160 as of 2026-09-25.
How do I remediate CVE-2025-45160?
Priority: MEDIUM.
What systems are affected by CVE-2025-45160?
CVE-2025-45160 affects Cacti; Cannot.
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":"EDS-518A","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.