Improper Encoding or Escaping of Output in Asset Metadata Component
An authenticated user could add XSS code as a value of custom metadata on assets, allowing script execution in the context of other users who view the metadata. The issue was fixed in version 10.1.2.
pimcore/pimcore
Originally disclosed on huntr
Pimcore is an open source data & experience management platform. Prior to version 10.1.2, an authenticated user could add XSS code as a value of custom metadata on assets. There is a patch for this issue in Pimcore version 10.1.2. As a workaround, users may apply the patch manually.
From the GitHub Advisory Database (GHSA-2v88-qq7x-xq5f, 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
Authenticated user account; victim views asset metadata
The fix
The issue was fixed in Pimcore version 10.1.2, and a manual patch is available as a workaround.
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 shows user-supplied content without properly escaping it, so a malicious script runs in another user's browser. Here, a logged-in user could put a script into asset metadata, and anyone who viewed that metadata might run the script unknowingly.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.