VDB
Sign up
MEDIUM5.4

GHSA-6vf6-g3pr-j83h

pimcore is vulnerable to cross-site scripting via "title field " in data objects

Quick fix

GHSA-6vf6-g3pr-j83h — pimcore/pimcore: upgrade to the fixed version with the command below.

composer require pimcore/pimcore:^10.5.14

Details

### Impact The vulnerability is capable of resulting in stolen user cookies.

#### Proof of Concept ``` Login with dev account https://11.x-dev.pimcore.fun/admin/?_dc=1670962076&perspective=

Go to setting --> data objects --> classes --> events

Click media under genaral settings

Add payload in title field.

Go to data objects module and open events, xss will trigger

// PoC.js "><iMg SrC="x" oNeRRor="alert(xss);"> ``` ### Patches Update to version 10.5.14 or apply this patch manually https://github.com/pimcore/pimcore/pull/13916.patch

### Workarounds Apply https://github.com/pimcore/pimcore/pull/13916.patch manually.

### References https://huntr.dev/bounties/129d6a4b-0504-4de1-a72c-3f12c4552343/

Are you affected?

Enter the version of the package you're using.

Affected packages

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

References