CVE-2022-0285: Cross-site Scripting in pimcore

pimcore/pimcore Updated 02 Oct 2025

Summary

21/01/2022
Yes i
Moderate
5.4

CVE-2022-0285: Cross-site Scripting in pimcore. Affects pimcore/pimcore versions < 10.2.9. Fixed in 10.2.9. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Pimcore is an open-source content management system (CMS) and digital experience platform (DXP) that allows users to manage and deliver digital content across multiple channels. It is widely used for building websites, e-commerce platforms, and other digital applications. The vulnerability identified as CVE-2022-0285 is a Cross-site Scripting (XSS) vulnerability that affects versions of the pimcore/pimcore package prior to 10.2.9.

Vulnerability Detail

The Cross-site Scripting (XSS) vulnerability in pimcore allows an attacker to inject malicious scripts into web pages viewed by other users. This can lead to various attacks, such as stealing sensitive information, performing actions on behalf of the user, or redirecting the user to malicious websites. The vulnerability originates from improper input sanitization and validation, allowing the execution of arbitrary JavaScript code. The severity of this vulnerability is rated as MODERATE with a CVSS score of 5.4.

How To Fix

Minimum fixed version

10.2.9

This is the first release that contains the fix.

composer require pimcore/pimcore:10.2.9

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, developers can implement input validation and sanitization measures to prevent the execution of malicious scripts. This can include using security libraries or frameworks that provide built-in protection against XSS attacks, such as HTML escaping or output encoding. It is important to thoroughly review and test the implemented measures to ensure their effectiveness.

Conclusion

The Cross-site Scripting (XSS) vulnerability in pimcore poses a moderate risk to applications utilizing versions prior to 10.2.9. It is crucial for developers to promptly upgrade to the fixed version and implement proper input validation and sanitization measures to mitigate the risk of XSS attacks. For further support and assistance in vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for pimcore/pimcore →

Share this vulnerability

FAQ

Cross-site Scripting (XSS) is a type of security vulnerability that allows attackers to inject malicious scripts into web pages viewed by other users. This can lead to various attacks, such as stealing sensitive information or performing actions on behalf of the user.

The XSS vulnerability in pimcore allows an attacker to inject and execute arbitrary JavaScript code in the context of other users' web browsers. This can lead to the compromise of sensitive information, unauthorized actions, or redirection to malicious websites.

Yes, the vulnerability has been fixed in version 10.2.9 of the pimcore/pimcore package. It is recommended to upgrade to this version or later to ensure the security of your application.

At the time of this report, there are no known public exploits specifically targeting this vulnerability in pimcore. However, it is important to promptly apply the recommended fixes to mitigate the risk of potential attacks.

For more detailed information about the vulnerability, including technical details and the latest updates, you can refer to the GitHub Advisory Database entry: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-pm3v-qxf6-fgxv/GHSA-pm3v-qxf6-fgxv.json

Related vulnerabilities

Recent vulnerabilities recorded for pimcore/pimcore.

How To Fix

Minimum fixed version

10.2.9

This is the first release that contains the fix.

composer require pimcore/pimcore:10.2.9

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback