Describe the bug
An authenticated malicious user can take advantage of a Stored XSS vulnerability in the "Files" feature.
Monstra application allows the upload of a SVG file extension (which is also an image type).
Reproduce
Steps to reproduce the behavior:
Login into the panel Monstra
Go to "/admin/index.php?id=filesmanager&path=uploads/"
Upload file abc.svg:
Open file upload : "/public/uploads/abc.svg"
View the preview to trigger XSS.
View the preview to get in request and such Stored XSS.
Impact
Commonly include transmitting private data, like cookies or other session information, to the attacker, redirecting the victim to web content controlled by the attacker, or performing other malicious operations on the user’s machine under the guise of the vulnerable site.
ScreenshotsDesktop (please complete the following information):
Describe the bug An authenticated malicious user can take advantage of a Stored XSS vulnerability in the "Files" feature. Monstra application allows the upload of a SVG file extension (which is also an image type). Reproduce Steps to reproduce the behavior: