Improper Encoding or Escaping of Output in Asset Metadata Component
Impact
Pimcore is an open source data & experience management platform. Prior to version 10.1.2, an authenticated user could add XSS code as a value of custom metadata on assets. There is a patch for this issue in Pimcore version 10.1.2. As a workaround, users may apply the patch manually.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
| Affected range | Recorded fix |
|---|---|
| Earlier releases before 10.1.2Ecosystem versions | 10.1.2 |
Version evidence: OSV · GHSA-2v88-qq7x-xq5f
View original version evidence (160 explicit versions)
Original source description
Pimcore is an open source data & experience management platform. Prior to version 10.1.2, an authenticated user could add XSS code as a value of custom metadata on assets. There is a patch for this issue in Pimcore version 10.1.2. As a workaround, users may apply the patch manually.
References
- Security advisory github.com/pimcore/pimcore/security/advisories/GHSA-2v88-qq7x-xq5f
- Security advisory nvd.nist.gov/vuln/detail/CVE-2021-39170
- Patch github.com/pimcore/pimcore/pull/10178
- Patch github.com/pimcore/pimcore/pull/10178.patch
- Patch github.com/pimcore/pimcore/pull/10206
- Source reference github.com/pimcore/pimcore
- Source reference huntr.dev/bounties/c3e4cf79-a4b5-4982-af27-729f66281501
- Source reference huntr.dev/bounties/e4cb9cd8-89cf-427c-8d2e-37ca40099bf2