CVE-2018-12457 json
express-cart allows any user to create an admin user
published 2018-06-15 8 y ago modified 2026-06-17 4 mo ago also GHSA-hr89-w7p6-pjmq , EUVD-2022-4201
- cvss
- 8.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.9%
- EPSS 1.9% chance of exploitation in 30 days, percentile 79%
- public exploits
- 0
- none known
Summary
expressCart before 1.1.6 allows remote attackers to create an admin user via a /admin/setup Referer header.
Patch / fix
- npm express-cart 1.1.6
- expresscart_project expresscart 1.1.6
Exploit prediction
1.89% chance of exploitation in the next 30 days, higher than 79% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 8.8 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
| GitHub | 3.0 | 8.8 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | express-cart | <1.1.6 |
1.1.6 |
Classification
- Weakness
-
- CWE-732 Incorrect Permission Assignment for Critical Resource
References
-
github.com
/mrvautin/expressCart/commit/baccaae9b0b72f00b10c5453ca00231340ad3e3b
web, patch, third-party-advisory
-
npmjs.com
/package/express-cart?activeTab=versions
web, third-party-advisory
-
hackerone.com
/reports/343626
web, issue-tracking, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2018-12457
advisory
-
github.com
/mrvautin/expressCart
package
-
github.com
/nodejs/security-wg/blob/main/vuln/npm/469.json
web
-
snyk.io
/vuln/npm:express-cart:20180712
web
-
npmjs.com
/advisories/730
web
Sources
- CVE List CVE-2018-12457
- GitHub Advisory GHSA-hr89-w7p6-pjmq
- NVD CVE-2018-12457
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.