MediumGHSA-r7mm-jx6h-hv7mCVE-2023-2332

Cross-site Scripting (XSS) in Conditions tab of Pricing Rules

Published 27 Apr 2023 · Updated 15 Nov 2024

Affected package

Affected
<10.5.21
Fixed in
10.5.21
Update to the fixed version for your release line, for example:composer require pimcore/pimcore:^10.5.21

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 this patch manually https://github.com/pimcore/pimcore/commit/a4491551967d879141a3fdf0986a9dd3d891abfe.patch

Workarounds

Apply patch https://github.com/pimcore/pimcore/commit/a4491551967d879141a3fdf0986a9dd3d891abfe.patch manually.

References

https://huntr.dev/bounties/e436ed71-6741-4b30-89db-f7f3de4aca2c/

Is GHSA-r7mm-jx6h-hv7m 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.