CVE-2022-24873 Non-Stored Cross-site Scripting in Shopware storefront

Medium 5.4 Published Updated

Attackers can execute arbitrary scripts in the Shopware storefront, 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 CVE-2022-24873?

CVE-2022-24873 is a medium-severity cross-site scripting vulnerability in Shopware Shopware, published on 28 Apr 2022. 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

Shopware is an open source e-commerce software platform. Prior to version 5.7.9, Shopware is vulnerable to non-stored cross-site scripting in the storefront. This issue is fixed in version 5.7.9. Users of older versions may attempt to mitigate the vulnerability by using the Shopware security plugin.

Weakness: CWE-79

Which versions are affected by CVE-2022-24873?

2 open source packages ship an affected version, including shopware/shopware. It affects 1 product.

PackageAffectedFixed in
shopware/shopware PackagistAll versions5.7.9
shopware/shopware PackagistAll versions5.7.9

Products include Shopware Shopware.

How do I fix CVE-2022-24873?

Upgrade shopware/shopware to 5.7.9 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 CVE-2022-24873 being exploited?

There is no known exploitation of CVE-2022-24873 in the wild and no public exploit code.

All Shopware Shopware vulnerabilities

Sources

Also known as GHSA-4g29-fccr-p59w.

Is CVE-2022-24873 in your software?

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

Check your SBOMs for free