CVE-2025-45160 Cross-site scripting in n/a
Attackers can inject arbitrary HTML into error popups via file uploads, potentially leading to script execution or UI manipulation in Cacti.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-45160?
CVE-2025-45160 is a medium-severity cross-site scripting vulnerability in n/a, published on 29 Jan 2026. Any signed-in user can exploit it over the network, with no action from the victim.
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.
Weakness: CWE-80
Which versions are affected by CVE-2025-45160?
How do I fix CVE-2025-45160?
Upgrade to a fixed version.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2025-45160 being exploited?
There is no known exploitation of CVE-2025-45160 in the wild and no public exploit code.
Sources
Also known as DEBIAN-CVE-2025-45160, GHSA-fxgp-4f5f-c9fc, UBUNTU-CVE-2025-45160.