Cross-site Scripting (XSS) in Document Properties Parameter
Published 27 Apr 2023 · Updated 16 Feb 2024
Affected package
- Affected
- <10.5.21
- Fixed in
- 10.5.21
composer require pimcore/pimcore:^10.5.21Details
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 this patch manually https://github.com/pimcore/pimcore/commit/9fc674892b8b53103098b9524705074a45e7f773.patch
Workarounds
Apply patch https://github.com/pimcore/pimcore/commit/9fc674892b8b53103098b9524705074a45e7f773.patch manually.
References
https://huntr.dev/bounties/f7228f3f-3bef-46fe-b0e3-56c432048a67/
Is GHSA-476g-v7hf-cw5m in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected pimcore/pimcore, and gives you the command that fixes it.
References
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.