CVE-2021-39166
PHP vulnerability analysis and mitigation

Overview

Pimcore, an open source data & experience management platform, disclosed a vulnerability (CVE-2021-39166) where text values were not properly escaped before being printed in the version preview. This vulnerability was discovered prior to version 10.1.2 and allowed cross-site scripting (XSS) attacks by authenticated users with access to the resources (GitHub Advisory).

Technical details

The vulnerability is classified as a Cross-Site Scripting (CWE-79) issue. The CVSS v3.1 scores vary between sources, with the NVD rating it as 5.4 MEDIUM (Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N) while GitHub rates it as 8.0 HIGH (Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H). The vulnerability stems from improper neutralization of text values in the object version preview functionality (NVD).

Impact

The vulnerability allows authenticated users with access to resources to perform cross-site scripting attacks. This could potentially lead to the execution of arbitrary web scripts or HTML in the context of other users' browsers who view the affected version preview (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in Pimcore version 10.1.2. Users are advised to upgrade to this version or later to address the security issue (GitHub Advisory, GitHub PR).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-65346CRITICAL9.1
  • PHPPHP
  • alexusmai/laravel-file-manager
NoNoDec 04, 2025
CVE-2025-66468HIGH7.6
  • PHPPHP
  • aimeos/ai-cms-grapesjs
NoYesDec 02, 2025
CVE-2025-65345MEDIUM6.5
  • PHPPHP
  • alexusmai/laravel-file-manager
NoNoDec 03, 2025
CVE-2025-65657MEDIUM6.5
  • PHPPHP
  • feehi/cms
NoNoDec 02, 2025
CVE-2025-65186MEDIUM6.1
  • PHPPHP
  • getgrav/grav
NoNoDec 02, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management