Cross-site Scripting (XSS) in DataObject Any Getter grid operator
A stored cross-site scripting flaw existed in the 'any getter' operator of the DataObject grid configuration. An attacker could inject script that runs in another user's browser when the grid is viewed.
pimcore/pimcore
Originally disclosed on huntr
Impact
Stored cross site scripting vulnerability in operator any getter in dataobject grid configuration.
Patches
Update to version 10.5.21 or apply this patch manually https://github.com/pimcore/pimcore/commit/6946f8a5a0a93b516c49f17a5b45044eebd73480.patch
Workarounds
Apply patch https://github.com/pimcore/pimcore/commit/6946f8a5a0a93b516c49f17a5b45044eebd73480.patch manually.
References
https://huntr.dev/bounties/bb1537a5-fe7b-4c77-a582-10a82435fbc2/
From the GitHub Advisory Database (GHSA-6fvf-x8c6-2f6j, CC BY 4.0).
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
What the attacker needed
Ability to configure a DataObject grid; victim views the affected grid
The fix
It was fixed in version 10.5.21, or by applying the linked patch manually.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
Cross-site scripting (XSS) is when a website displays text or data that actually contains hidden code, so a visitor's browser runs that code as if the site itself had written it. Here the problem was in a grid setting called 'any getter', which stored the malicious content and later showed it to other users. That could let an attacker act as those users inside the application.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.