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

Pimcore Cross-site Scripting in Predefined Asset Metadata module in Settings

A cross-site scripting flaw existed in the predefined asset metadata module in Pimcore settings. An attacker could steal a user's cookie and 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.20 or apply this patch manually https://github.com/pimcore/pimcore/pull/14721.patch

Workarounds

Apply patch manually https://github.com/pimcore/pimcore/pull/14721.patch

References

https://huntr.dev/bounties/d8a47f29-3297-4fce-b534-e1d95a2b3e19

From the GitHub Advisory Database (GHSA-6qjm-39vh-729w, 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 settings module; victim views crafted metadata

The fix

It was fixed by updating to version 10.5.20 or applying 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 when a website displays text that a user typed without cleaning it first, so an attacker can sneak in code that runs in other people's browsers. Here, a settings page for asset metadata did not clean input properly. That let an attacker run their own code in a victim's browser, potentially stealing the victim's login cookie and taking over the account.

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.