VDB
Sign up
MEDIUM5.2

GHSA-2295-vh28-pphc

Cross-site Scripting (XSS) in DataObjects QuantityValue Unit Definition

Quick fix

GHSA-2295-vh28-pphc — pimcore/pimcore: upgrade to the fixed version with the command below.

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 these patches manually https://github.com/pimcore/pimcore/commit/e3562bfe249c557d15474c9a0acd5e06628521fe.patch https://github.com/pimcore/pimcore/commit/b9c9ca2371aa643dbc4caca162ff3400266ff96f.patch

### Workarounds Apply patches: https://github.com/pimcore/pimcore/commit/e3562bfe249c557d15474c9a0acd5e06628521fe.patch https://github.com/pimcore/pimcore/commit/b9c9ca2371aa643dbc4caca162ff3400266ff96f.patch

### References https://huntr.dev/bounties/01a44584-e36b-46f4-ad94-53af488397f6/

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/pimcore/pimcore
Introduced in: 0Fixed in: 10.5.21
Fixcomposer require pimcore/pimcore:^10.5.21

References