Skip to content
XSS Disclosed report Beginner CVE-2023-2332

Cross-site Scripting (XSS) in Conditions tab of Pricing Rules

A cross-site scripting flaw existed in the Conditions tab of Pricing Rules, allowing an attacker to inject script that could steal a user's cookie or redirect them to malicious sites. The text does not specify the exact input or mechanism.

pimcore/pimcore

Originally disclosed on huntr

Impact

This vulnerability has the potential to steal a user's cookie and gain unauthorized access to that user's account through the stolen cookie or redirect users to other malicious sites.

Patches

Update to version 10.5.21 or apply this patch manually https://github.com/pimcore/pimcore/commit/a4491551967d879141a3fdf0986a9dd3d891abfe.patch

Workarounds

Apply patch https://github.com/pimcore/pimcore/commit/a4491551967d879141a3fdf0986a9dd3d891abfe.patch manually.

References

https://huntr.dev/bounties/e436ed71-6741-4b30-89db-f7f3de4aca2c/

From the GitHub Advisory Database (GHSA-r7mm-jx6h-hv7m, CC BY 4.0).

The original report as published on the GitHub Advisory Database. Images and videos are our own copies; raw HTML is shown as text. View it on GitHub Advisory Database.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

What the attacker needed

Access to the Conditions tab; victim views the crafted content

The fix

It was fixed in version 10.5.21, and a patch can also be applied manually.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

Cross-site scripting (XSS) is when a website displays user-supplied content without properly neutralising it, so an attacker can make the site run their own JavaScript in a victim's browser. That script can read cookies (small pieces of data the site stores in the browser) and send them to the attacker, or send the victim to a fake login page. Here the vulnerable spot was the Conditions tab inside Pricing Rules.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

More from pimcore/pimcore

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.