Cross-site Scripting (XSS) - Generic in forkcms/forkcms
Valid
Reported on
Mar 31st 2021
✍️ Description
The forkcms
is vulnerable to XSS
through adding new media.
🕵️♂️ Proof of Concept
Payload: <img src onerror=alert()>
.
With an authenticated user, access:
http://localhost/private/en/media_library/media_item_index
.Select the option
Online movies (Youtube, Vimeo, ...)
and click onNext
.Select any
source
and put the payload intoMovie id
orMovie title
.Click on
Add movie
.
💥 Impact
JavaScript code execution, which allows stealing user session cookies.
to join this conversation