totaljs / cms

Node.js Content Management System
http://www.totaljs.com/cms/
MIT License
223 stars 92 forks source link

[Security] Stored XSS #38

Closed edoardottt closed 1 year ago

edoardottt commented 2 years ago

Tested version: 8c2c8909 (latest)

Steps to reproduce the vulnerability:

Each time a target will visit the dashboard the payload will fire, even if the target is not logged in! Since the wesbite redirects to /admin/ presenting the login form, but the payload is reflected also there.

In order to test this, just click logout and reload the page.

Screenshot from 2022-09-19 17-48-22

Screenshot from 2022-09-19 17-48-46