CVE-2025-45160: Medium severity Cacti Cacti vulnerability

Published Jan 29, 2026
·
Updated

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.

Affected Software

14 affected componentsFixes available
Cacti Cacti<=1.2.29
ubuntu/cacti*
ubuntu/cacti*
ubuntu/cacti*
ubuntu/cacti*
ubuntu/cacti*
ubuntu/cacti*
ubuntu/cacti*
ubuntu/cacti*
ubuntu/cacti*
debian/cacti<1.2.24+ds1-1+deb12u3
1.2.24+ds1-1+deb12u3
debian/cacti<1.2.27+ds1-1
1.2.27+ds1-1
debian/cacti<1.2.27+ds1-1
1.2.27+ds1-1
debian/cacti
1.2.24+ds1-1+deb12u31.2.27+ds1-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/cacti to a version that resolves this vulnerability.

    Fixed in 1.2.24+ds1-1+deb12u3
  2. Upgrade

    Upgrade debian/cacti to a version that resolves this vulnerability.

    Fixed in 1.2.27+ds1-1
  3. Upgrade

    Upgrade debian/cacti to a version that resolves this vulnerability.

    Fixed in 1.2.24+ds1-1+deb12u3Fixed in 1.2.27+ds1-1

Event History

Jan 29, 2026
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via OSV·06:16 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·06:16 PM
DescriptionSeverityWeakness
Feb 2, 2026
Updated
via MITRE·07:37 PM
Description
Updated
via NVD·11:15 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2025-45160?

The severity of CVE-2025-45160 is considered moderate due to the potential for HTML injection.

2

How do I fix CVE-2025-45160?

To fix CVE-2025-45160, upgrade to Cacti version 1.2.30 or later where the vulnerability is patched.

3

What impact does CVE-2025-45160 have on my system?

CVE-2025-45160 allows attackers to inject arbitrary HTML, which could lead to cross-site scripting (XSS) and other security risks.

4

Which versions of Cacti are affected by CVE-2025-45160?

CVE-2025-45160 affects Cacti versions up to and including 1.2.29.

5

How does CVE-2025-45160 work?

CVE-2025-45160 works by allowing an attacker to upload files with invalid formats, leading to unsanitized reflection of filenames in error messages.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203