CVE-2023-2332 Stored Cross-site Scripting (XSS) in pimcore/pimcore

Medium 4.0 Published Updated

Attackers can inject malicious scripts into Pimcore pricing rules, leading to arbitrary JavaScript execution and potential cookie theft.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2023-2332?

CVE-2023-2332 is a medium-severity cross-site scripting vulnerability in Pimcore Pimcore, published on 15 Nov 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

A stored Cross-site Scripting (XSS) vulnerability exists in the Conditions tab of Pricing Rules in pimcore/pimcore versions 10.5.19. The vulnerability is present in the From and To fields of the Date Range section, allowing an attacker to inject malicious scripts. This can lead to the execution of arbitrary JavaScript code in the context of the user's browser, potentially stealing cookies or redirecting users to malicious sites. The issue is fixed in version 10.5.21.

Weakness: CWE-79

Which versions are affected by CVE-2023-2332?

2 open source packages ship an affected version, including pimcore/pimcore. It affects 1 product.

PackageAffectedFixed in
pimcore/pimcore PackagistAll versions10.5.21
pimcore/pimcore PackagistAll versions10.5.21

Products include Pimcore Pimcore.

How do I fix CVE-2023-2332?

Upgrade pimcore/pimcore to 10.5.21 or later.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2023-2332 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-2332 exists.

All Pimcore Pimcore vulnerabilities

Sources

Also known as GHSA-r7mm-jx6h-hv7m.

Is CVE-2023-2332 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free