VDB
Sign up
MEDIUM6.1

GHSA-r6qq-qc9m-98w2

EC-CUBE Cross-site scripting vulnerability

Quick fix

GHSA-r6qq-qc9m-98w2 — ec-cube/ec-cube: upgrade to the fixed version with the command below.

composer require ec-cube/ec-cube:^4.0.6

Details

Cross-site scripting vulnerability in EC-CUBE EC-CUBE 4.0.0 to 4.0.5-p1 (EC-CUBE 4 series) allows a remote attacker to inject an arbitrary script by leading an administrator or a user to a specially crafted page and to perform a specific operation.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/ec-cube/ec-cube
Introduced in: 4.0.0Fixed in: 4.0.6
Fixcomposer require ec-cube/ec-cube:^4.0.6

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:composer/ec-cube/ec-cube"]}'