Quick answers
- Is CVE-2020-22403 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2020-22403 being exploited in the wild.
- How severe is CVE-2020-22403?
- Low severity, with a CVSS score of 3.1, published 30 August 2021.
- Which products and versions are affected?
- express-cart (npm) SEMVER:introduced=0,fixed=1.1.17.
- Is there a fix for CVE-2020-22403?
- Yes. express-cart (npm): upgrade to 1.1.17 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2020-22403 attacked?
- It is attacked over the network.
- Am I affected by CVE-2020-22403?
- Check whether you run express-cart (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- express-cart (npm): upgrade to 1.1.17 or later
npm install express-cart@1.1.17
Technical details
The vulnerability is a Cross-Site Request Forgery (CSRF) vulnerability in express-cart versions up to 1.1.10. The root cause is that the admin API endpoints only validate session cookies without implementing CSRF tokens, allowing an attacker to craft a malicious HTML form that, when visited by an authenticated admin, performs unwanted state-changing actions. The attack vector is network-based and requires user interaction (the admin must visit the attacker's page while logged into express-cart). An attacker can exploit this to create discount codes, modify settings, or perform other admin-level operations. The vulnerability was fixed in version 1.1.17.
Affected products
- express-cart express-cart through 1.1.10
Identifiers
- CVE-2020-22403
- GHSA-h5q8-5697-9p9h
Timeline
- 2020-02-22: disclosed
- 2021-08-30: advisory
- 2021: patched: Fixed in version 1.1.17