VDB
Sign up
HIGH8.1

GHSA-v4j2-cwmm-xg89

OpenCart Path Traversal vulnerability

Quick fix

GHSA-v4j2-cwmm-xg89 — opencart/opencart: upgrade to the fixed version with the command below.

composer require opencart/opencart:^4.0.2.3

Details

Path Traversal in OpenCart versions 4.0.0.0 to 4.0.2.2 allows an authenticated user with access/modify privilege on the Log component to empty out arbitrary files on the server

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/opencart/opencart
Introduced in: 4.0.0.0Fixed in: 4.0.2.3
Fixcomposer require opencart/opencart:^4.0.2.3

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/opencart/opencart"]}'