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

Cross-site Scripting (XSS) in DataObjects QuantityValue Unit Definition

A cross-site scripting flaw existed in the DataObjects QuantityValue Unit Definition. An attacker could steal a user's cookie and use it to gain unauthorised access to that user's account, or redirect users to malicious sites.

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 these patches manually https://github.com/pimcore/pimcore/commit/e3562bfe249c557d15474c9a0acd5e06628521fe.patch https://github.com/pimcore/pimcore/commit/b9c9ca2371aa643dbc4caca162ff3400266ff96f.patch

Workarounds

Apply patches: https://github.com/pimcore/pimcore/commit/e3562bfe249c557d15474c9a0acd5e06628521fe.patch https://github.com/pimcore/pimcore/commit/b9c9ca2371aa643dbc4caca162ff3400266ff96f.patch

References

https://huntr.dev/bounties/01a44584-e36b-46f4-ad94-53af488397f6/

From the GitHub Advisory Database (GHSA-2295-vh28-pphc, 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

Ability to set a QuantityValue Unit Definition; victim views the affected page

The fix

It was fixed in version 10.5.21, and patches are available for manual application.

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 something a user typed without cleaning it first, so an attacker can sneak in code that runs in other people's browsers. Here, a field for a unit definition in Pimcore's data objects did not clean its input. If an attacker put code there, it would run when someone else viewed the page, letting the attacker act as that user.

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.