Skip to content

Instantly share code, notes, and snippets.

View BEND0US's full-sized avatar
🎧
Focusing

D BEND0US

🎧
Focusing
View GitHub Profile
@BEND0US
BEND0US / CVE-2025-45160.md
Last active February 2, 2026 22:06
CVE-2025-45160

CVE-2025-45160 – HTML Injection in Cacti Authenticated Template Upload

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.

Proof of Concept

  1. Login to the application.
  2. Navigate to the file upload interface.
  3. Upload a file with invalid content (File content may be empty) and provide the following file name: HACK.xml