Pimcore Cross-site Scripting (XSS) in name field of Custom Reports
Published 10 May 2023 · Updated 30 Nov 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/c36ef54ce33f7b5e74b7b0ab9eabfed47c018fc7.patch
Workarounds
Apply patches manually: https://github.com/pimcore/pimcore/commit/c36ef54ce33f7b5e74b7b0ab9eabfed47c018fc7.patch
References
https://huntr.dev/bounties/1a5e6c65-2c5e-4617-9411-5b47a7e743a6/
Is GHSA-m6m9-gr85-79vm 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.