vendor:
Piwigo
by:
Mirabbas Agalarov
5.5
CVSS
MEDIUM
Stored Cross-Site Scripting (XSS)
79
CWE
Product Name: Piwigo
Affected Version From: 13.6.2000
Affected Version To: 13.6.2000
Patch Exists: NO
Related CWE:
CPE: a:piwigo:piwigo:13.6.0
Platforms Tested: Linux
2023
Piwigo 13.6.0 – Stored Cross-Site Scripting (XSS)
This vulnerability allows an attacker to inject malicious scripts into the Piwigo application, potentially leading to unauthorized actions or data theft. By uploading an image and modifying the tag during editing, an attacker can execute arbitrary JavaScript code. The payload used in this case is '<img%20src=x%20onerror=alert(4)>'.
Mitigation:
To mitigate this vulnerability, it is recommended to sanitize user input and validate image tags before displaying them. Implementing proper input validation and output encoding can prevent the execution of malicious scripts.