Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. express-cart
  4. ›
  5. CVE-2018-12457

CVE-2018-12457: express-cart allows any user to create an admin user

May 13, 2022 (updated February 3, 2026)

Express-Cart before 1.1.6 allows remote attackers to create an admin user via an /admin/setup Referer header.

References

  • github.com/advisories/GHSA-hr89-w7p6-pjmq
  • github.com/mrvautin/expressCart
  • github.com/mrvautin/expressCart/commit/baccaae9b0b72f00b10c5453ca00231340ad3e3b
  • github.com/nodejs/security-wg/blob/main/vuln/npm/469.json
  • hackerone.com/reports/343626
  • nvd.nist.gov/vuln/detail/CVE-2018-12457
  • snyk.io/vuln/npm:express-cart:20180712
  • www.npmjs.com/advisories/730
  • www.npmjs.com/package/express-cart?activeTab=versions

Code Behaviors & Features

Detect and mitigate CVE-2018-12457 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.1.6

Fixed versions

  • 1.1.6

Solution

Upgrade to version 1.1.6 or above.

Impact 8.8 HIGH

CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-732: Incorrect Permission Assignment for Critical Resource

Source file

npm/express-cart/CVE-2018-12457.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:04 +0000.