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

Cross-site Scripting (XSS) in Website Settings name field

The Website Settings name field in Pimcore was vulnerable to cross-site scripting, allowing an attacker to inject script that would run in another user's browser. This could let the attacker steal a user's cookie and gain unauthorised access to that 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 patches manually https://github.com/pimcore/pimcore/commit/07a2c95be524c7e20105cef58c5767d4ebb06091.patch https://github.com/pimcore/pimcore/commit/42a5bbe5f16b97371fdbfdcf2bb3ee759dea8564.patch

Workarounds

Apply patches manually: https://github.com/pimcore/pimcore/commit/07a2c95be524c7e20105cef58c5767d4ebb06091.patch https://github.com/pimcore/pimcore/commit/42a5bbe5f16b97371fdbfdcf2bb3ee759dea8564.patch

References

https://huntr.dev/bounties/01cd3ed5-dce8-4021-9de0-81cb14bf1829/

From the GitHub Advisory Database (GHSA-2c67-p4xh-m34w, 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

Impact

An attacker could steal a user's cookie to gain unauthorised access to that account, or redirect users to other malicious sites.

What the attacker needed

Access to Website Settings name field; victim views the affected page

The fix

It was fixed by updating to version 10.5.21 or applying the linked patches 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 lets someone put code into a page that other people view, and that code runs in their browser. Here, a settings field called 'name' did not clean up what was typed into it, so harmful code could be saved and shown to other users. The attacker could then take over another user's session or send them to a harmful website.

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.