Skip to content

Path Traversal in express-cart

High severity GitHub Reviewed Published Sep 1, 2020 to the GitHub Advisory Database • Updated Jan 9, 2023

Package

npm express-cart (npm)

Affected versions

<= 1.1.5

Patched versions

1.1.7

Description

Versions of express-cart before 1.1.7 are vulnerable to Path Traversal.

Recommendation

Update to version 1.1.7 or later.

References

Reviewed Aug 31, 2020
Published to the GitHub Advisory Database Sep 1, 2020
Last updated Jan 9, 2023

Severity

High

EPSS score

Weaknesses

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. Learn more on MITRE.

CVE ID

No known CVE

GHSA ID

GHSA-8h8v-6qqm-fwpq

Source code

No known source code
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.