Skip to content
XSS Disclosed report Intermediate CVE-2023-2327

Cross-site Scripting (XSS) in pimcore via DataObject Class date fields

A cross-site scripting vulnerability exists in Pimcore's DataObject Class date fields, allowing an attacker to inject malicious scripts. This could let an attacker steal a user's cookie and gain unauthorised access to their 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 this patch manually https://github.com/pimcore/pimcore/commit/fb3056a21d439135480ee299bf1ab646867b5f4f.patch

Workarounds

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

References

https://huntr.dev/bounties/7336b71f-a36f-4ce7-a26d-c8335ac713d6/

From the GitHub Advisory Database (GHSA-x9xj-pqmv-8jf7, 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

Victim views a page with the malicious date field

The fix

The vulnerability was fixed in version 10.5.21; users should update or apply the provided patch 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 a flaw where a website displays user-supplied content without properly cleaning it, so an attacker can sneak in a script that runs in other users' browsers. Here, the date fields in Pimcore's DataObject Class feature did not safely handle input, letting an attacker insert a script. When another user views the affected page, the script runs and can steal their login cookie, which is a small piece of data that keeps them logged in.

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.