CVE-2022-38975 EC-CUBE DOM-based cross-site scripting vulnerability

Medium 5.4 Published Updated

Remote attackers can inject scripts via DOM-based XSS, potentially compromising administrative accounts in EC-CUBE.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2022-38975?

CVE-2022-38975 is a medium-severity cross-site scripting vulnerability in EC-CUBE 4 series, published on 27 Sep 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

DOM-based cross-site scripting vulnerability in EC-CUBE 4 series (EC-CUBE 4.0.0 to 4.1.2) allows a remote attacker to inject an arbitrary script by having an administrative user of the product to visit a specially crafted page.

Weakness: CWE-79

Which versions are affected by CVE-2022-38975?

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

PackageAffectedFixed in
ec-cube/ec-cube PackagistFrom 4.0.0 to 4.1.2None
ec-cube/ec-cube PackagistFrom 4.0.0 to 4.1.2None

Products include Ec-Cube Ec-Cube.

How do I fix CVE-2022-38975?

No fix has been published for CVE-2022-38975 yet. Limit exposure of the affected software until one is available.

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-38975 being exploited?

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

Sources

Also known as GHSA-pggw-rqfm-72rh.

Is CVE-2022-38975 in your software?

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

Check your SBOMs for free