Pimcore vulnerable to Cross Site Scripting in Documents Link Editable
A cross-site scripting vulnerability exists in Pimcore's Document Page Link Editable, specifically in the Advanced -> Attributes section. An attacker could inject a malicious script that executes in another user's browser.
pimcore/pimcore
Originally disclosed on huntr
Impact
An attacker can use XSS to send a malicious script to any user through Document Page Link Editable -> Advanced -> Attributes
Patches
Update to version 10.5.18 or apply this patch manually https://github.com/pimcore/pimcore/pull/14500.patch
Workarounds
Apply https://github.com/pimcore/pimcore/pull/14500.patch manually.
References
https://huntr.dev/bounties/cfa80332-e4cf-4d64-b3e5-e10298628d17/
From the GitHub Advisory Database (GHSA-97cp-8873-v2gf, 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
Impact
An attacker could execute arbitrary script in the context of another user's session, potentially leading to actions performed on their behalf.
What the attacker needed
Access to edit a Document Page Link; victim views the affected page
The fix
The issue was fixed in version 10.5.18, and a patch is available for manual application.
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 a flaw where a website displays user-supplied content without properly cleaning it, so an attacker can sneak in JavaScript code. When another person views that content, the code runs in their browser as if it came from the trusted site. Here, a field in Pimcore's page editor allowed such code to be stored and later shown to other users.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.