GitHub Advisory Database
GHSA-2295-vh28-pphc
Cross-site Scripting (XSS) in DataObjects QuantityValue Unit Definition
Details
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.
Patches
Update to version 10.5.21 or apply these patches manually https://github.com/pimcore/pimcore/commit/e3562bfe249c557d15474c9a0acd5e06628521fe.patch https://github.com/pimcore/pimcore/commit/b9c9ca2371aa643dbc4caca162ff3400266ff96f.patch
Workarounds
Apply patches: https://github.com/pimcore/pimcore/commit/e3562bfe249c557d15474c9a0acd5e06628521fe.patch https://github.com/pimcore/pimcore/commit/b9c9ca2371aa643dbc4caca162ff3400266ff96f.patch
References
https://huntr.dev/bounties/01a44584-e36b-46f4-ad94-53af488397f6/
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | pimcore/pimcore | All versions before 10.5.21 (fixed in 10.5.21) |