# CVE-2025-45160: A HTML injection vulnerability exists in the file upload functionality of Cacti <= 1.2.29.

- Severity: Medium 5.4 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 12% of CVEs (2026-12-01)
- Published: 2026-01-29T00:00:00.000Z
- Modified: 2026-06-17T09:25:24.683Z
- Weaknesses: CWE-80
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a

## References

- <https://github.com/Cacti/cacti>
- <https://gist.github.com/BEND0US/49d76897a5bb676d8c3f51425553cc32>

## Sources

- CVE List: [CVE-2025-45160](https://www.cve.org/CVERecord?id=CVE-2025-45160), CVE Terms of Use, modified 2026-02-02
- NVD: [CVE-2025-45160](https://nvd.nist.gov/vuln/detail/CVE-2025-45160), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-45160 · Whole record: https://cve.day/CVE-2025-45160.json · Rebuilt by cve.day 2026-11-25T22:59:10.946Z
