Cross-site Scripting (XSS) in Document Properties Parameter
Published 27 Apr 2023 · Updated 16 Feb 2024
Is your project on an affected pimcore/pimcore?
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.
More advisories for pimcore/pimcore
- HighCVE-2026-55416Pimcore: SQL Injection in Custom Reports via Malicious Report Configuration · 10 Sept 2026
- CriticalCVE-2026-55634Pimcore Vulnerable to Remote Code Execution via DataObject Class-Definition Field Name · 28 Aug 2026
- CriticalCVE-2026-55220Pimcore Hotspotimage getDataFromResource() unrestricted Serialize::unserialize over object-store column (PHP Object Injection, CWE-502) · 28 Aug 2026
- HighCVE-2026-55072Pimcore: ClassDefinition UID regex missing end anchor allows SQL injection via Block.php unquoted table name · 13 Aug 2026
- HighCVE-2026-11407Pimcore CMS Twig Sandbox Bypass via SecurityPolicy checkMethodAllowed · 17 Jun 2026
- HighCVE-2026-5394Pimcore Platform - SQL Injection in DataObject composite index handling during class definition import/save · 28 May 2026
References
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.