Pimcore vulnerable to Cross Site Scripting in image/video thumbnail config
The image and video thumbnail configuration in Pimcore is vulnerable to cross-site scripting. An attacker could inject a malicious script that executes in another user's browser when they view the affected configuration.
pimcore/pimcore
Originally disclosed on huntr
Impact
An attacker can use XSS to send a malicious script to any user through Image/Video thumbnail config
Patches
Update to version 10.5.18 or apply this patch manually https://github.com/pimcore/pimcore/pull/14472.patch
Workarounds
Apply https://github.com/pimcore/pimcore/pull/14472.patch manually.
References
https://huntr.dev/bounties/e8c0044d-a31b-4347-b2d5-59fbf492da39/
From the GitHub Advisory Database (GHSA-qxcw-rf4v-hp26, 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
Access to thumbnail configuration; victim views the affected config
The fix
It was fixed in version 10.5.18, 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 lets an attacker slip their own JavaScript code into a page that other people view. Here, the settings for making image and video thumbnails did not clean up user input, so a script could be stored and run in a victim's browser. The attacker could then act as that user on the site.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.