GHSA-jqr7-5h7r-ch8p Shopware Non-Persistent XSS in the Frontend

Not scored Published

Attackers can inject malicious scripts into the Shopware frontend, potentially compromising user sessions and data.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is GHSA-jqr7-5h7r-ch8p?

GHSA-jqr7-5h7r-ch8p is a cross-site scripting vulnerability in shopware/shopware, published on 21 May 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

A non-persistent Cross-Site Scripting (XSS) vulnerability has been identified in the Shopware eCommerce platform within the frontend. This vulnerability may allow an attacker to inject and execute malicious scripts in the context of a victim's web browser.

Which versions are affected by GHSA-jqr7-5h7r-ch8p?

2 open source packages ship an affected version, including shopware/shopware.

PackageAffectedFixed in
shopware/shopware PackagistFrom 5.2.05.3.7
shopware/shopware PackagistFrom 5.2.05.3.7

How do I fix GHSA-jqr7-5h7r-ch8p?

Upgrade shopware/shopware to 5.3.7 or later.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is GHSA-jqr7-5h7r-ch8p being exploited?

There is no known exploitation of GHSA-jqr7-5h7r-ch8p in the wild and no public exploit code.

Sources

Is GHSA-jqr7-5h7r-ch8p in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free