Dom-based XSS in Website Settings module in Settings in pimcore/pimcore
Reported on
Mar 24th 2023
Description
pimcore is vulnerable to Dom-based XSS at Name field in Website Settings module in Settings.
Payload
"><img src=x onerror=alert(document.domain);>
Proof of Concept
1.Go to https://11.x-dev.pimcore.fun/admin/
and login.
2.In the left menu bar, go to Settings -> Website Settings and input any text into Key field and choose a Type, then click on Add button to add a new record.
3.Edit the name of the new added record by the payload "><img src=x onerror=alert(document.domain);>
into the Name field.
4.Click on delete icon (X) on that new added record, you will see the XSS popup triggers.
Impact
This vulnerability has the potential to steal a user's cookie and gain unauthorized access to that user's account through the stolen cookie or redirect users to other malicious sites.