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

Pimcore vulnerable to Cross-site Scripting (XSS) in Redirects

A stored cross-site scripting flaw existed in the Expiry field of the Redirects module. An attacker could inject script that runs in another user's browser, potentially stealing cookies or redirecting to malicious sites.

pimcore/pimcore

Originally disclosed on huntr

Impact

Stored XSS vulnerability at Expiry field in the Redirects module.

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.19 or apply this patch manually https://github.com/pimcore/pimcore/pull/14562.patch

Workarounds

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

References

https://huntr.dev/bounties/ae0f2ec4-a245-4d0b-9d4d-bd8310dd6282/

From the GitHub Advisory Database (GHSA-66cm-c7ch-5j8q, 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 and gain unauthorised access to that user's account, or redirect users to other malicious sites.

What the attacker needed

Access to the Redirects module; victim views the affected page

The fix

It was fixed by updating to version 10.5.19 or applying the linked 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 lets an attacker put their own code into a page that other people view. Here the 'Expiry' field in a redirects feature did not clean up what was typed into it, so harmful code could be saved and later run in a victim's browser. That code could read the victim's login cookie or send them to a bad 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.