Pimcore vulnerable to Cross-site Scripting (XSS) in Redirects
Published 20 Mar 2023 · Updated 22 Feb 2024
Affected package
- Affected
- <10.5.19
- Fixed in
- 10.5.19
composer require pimcore/pimcore:^10.5.19Details
Impact
Stored XSS vulnerability at Expiry field in the Redirects module.
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.19 or apply this patch manually https://github.com/pimcore/pimcore/pull/14562.patch
Workarounds
Apply patch manually https://github.com/pimcore/pimcore/pull/14562.patch
References
https://huntr.dev/bounties/ae0f2ec4-a245-4d0b-9d4d-bd8310dd6282/
Is GHSA-66cm-c7ch-5j8q 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
- Linkgithub.com/pimcore/pimcore/security/advisories/GHSA-66cm-c7ch-5j8q
- Advisorynvd.nist.gov/vuln/detail/CVE-2023-1515
- Linkgithub.com/pimcore/pimcore/pull/14562
- Linkgithub.com/pimcore/pimcore/pull/14562.patch
- Linkgithub.com/pimcore/pimcore/commit/44c6b37aa649a0e3105fa41f3d74a3e511acf964
- Packagegithub.com/pimcore/pimcore
- Linkhuntr.dev/bounties/ae0f2ec4-a245-4d0b-9d4d-bd8310dd6282
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.