Right-click the profile image in upper-right hand corner > Open image in new tab
Our XSS payload is now executed
Impact
Since we can inject our own Javascript, we can abuse the user's logged in cookie to do things such as start/stop the PLC or interact with the Slave devices
Git: https://github.com/thiagoralves/OpenPLC_v3
Stored XSS Via Profile Image Upload
Reproduction
Use this payload & save it as
image.svg
:image.svg
as the pictureOur XSS payload is now executed
Impact
Since we can inject our own Javascript, we can abuse the user's logged in cookie to do things such as start/stop the PLC or interact with the Slave devices