Pimcore Authenticated Stored Cross-Site Scripting (XSS) Via Search Document
Summary
A Stored Cross-Site Scripting (XSS) vulnerability in PIMCORE allows remote attackers to inject arbitrary web script or HTML via the PDF upload functionality. This can result in the execution of malicious scripts in the context of the user's browser when the PDF is viewed, leading to potential session hijacking, defacement of web pages, or unauthorized access to sensitive information.
Details
The vulnerability is present in the PDF upload functionality of the PIM Core Upload module. When a user uploads a PDF file, the application fails to properly sanitize the content, allowing embedded scripts to be executed when the PDF is viewed. The affected code is located in the file handling and rendering logic of the PDF upload feature.
PoC
-
Log in as Administrator
-
Hover to Assets
-
Right click and click "Add Asset(s) > upload files
-
Upload malicious pdf
-
Click on search and select document
-
copy the path and open to a new tab
https://demo.pimcore.fun/admin/Sample C
- XSS PDF can be access without authentication.
Image showing no cookies indicator that there are no session currently in
Impact
This is a Stored Cross-Site Scripting (XSS) vulnerability. It impacts any user who views the malicious PDF, potentially leading to session hijacking, defacement of web pages, or unauthorized access to sensitive information. The severity is high due to the potential for significant impact on confidentiality and integrity.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | pimcore/pimcore | >= 11.4.2, < 11.5.3 | 11.5.3 |
References
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:N- Weakness (CWE)
CWE-79- Platform
- Composer
- Package
pimcore/pimcore- Disclosed
- 28.01.2025
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-xr3m-6gq6-22cg - CC BY 4.0
Vulnerability history: pimcore/pimcore
All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 135
- First → latest
- 12.2019 09.2026
- Without a fix
- 3
- Exploited in attacks
- 0
Severity breakdown
- Critical 5
- High 40
- Medium 90
Disclosures per year
- 2019: 1
- 2020: 0
- 2021: 11
- 2022: 43
- 2023: 59
- 2024: 3
- 2025: 2
- 2026: 16
-
Pimcore Authenticated Stored Cross-Site Scripting (XSS) Via Search Document this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.