Path Traversal Vulnerability in express-cart

express-cart Updated 02 Oct 2025

Summary

01/09/2020
HIGH
Yes i
High
Not published

GHSA-8h8v-6qqm-fwpq: Path Traversal in express-cart. Affects express-cart versions < 1.1.7. Fixed in 1.1.7. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

express-cart is an npm package that provides functionality for building an e-commerce shopping cart using the Express.js framework. It allows developers to easily create and manage a shopping cart for their web applications. However, versions of express-cart before 1.1.7 are vulnerable to a Path Traversal vulnerability.

Vulnerability Detail

The Path Traversal vulnerability in express-cart allows an attacker to access files and directories outside of the intended directory. This can lead to unauthorized access to sensitive information, such as configuration files or user data. The vulnerability is caused by insufficient input validation, which allows user-supplied input to be used in file path operations without proper sanitization.

How To Fix

Minimum fixed version

1.1.7

This is the first release that contains the fix.

npm install express-cart@1.1.7

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is recommended to update to the latest version of express-cart as soon as possible.

Conclusion

In conclusion, the express-cart package is vulnerable to a Path Traversal vulnerability. To mitigate this vulnerability, it is crucial to update to version 1.1.7 or later and implement proper input validation and sanitization. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for express-cart →

Share this vulnerability

FAQ

express-cart is an npm package that provides functionality for building an e-commerce shopping cart using the Express.js framework.

A Path Traversal vulnerability allows an attacker to access files and directories outside of the intended directory.

The Path Traversal vulnerability in express-cart can lead to unauthorized access to sensitive information, such as configuration files or user data.

To fix the vulnerability, update express-cart to version 1.1.7 or later and ensure proper validation and sanitization of user-supplied input.

There is no known workaround for this vulnerability. It is recommended to update to the latest version of express-cart.

Related vulnerabilities

Recent vulnerabilities recorded for express-cart.

How To Fix

Minimum fixed version

1.1.7

This is the first release that contains the fix.

npm install express-cart@1.1.7

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback