CVE-2023-46494: EverShop cross-site scripting in ProductGrid

CVE-2023-46494 · Severity: low · CVSS 3.1 · Published 2023-12-08

EverShop is a popular open-source e-commerce platform distributed via npm. A cross-site scripting (XSS) vulnerability in the ProductGrid admin component allows attackers to inject malicious scripts that could expose sensitive information or compromise administrator sessions through crafted requests. This affects all versions before 1.0.0-rc.5.

Technologies: EverShop, @evershop/evershop (npm). Vendors: EverShop, npm.

Quick answers

Is CVE-2023-46494 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2023-46494 being exploited in the wild.
How severe is CVE-2023-46494?
Low severity, with a CVSS score of 3.1, published 8 December 2023.
Which products and versions are affected?
EverShop before 1.0.0-rc.5; @evershop/evershop (npm) SEMVER:introduced=0,fixed=1.0.0-rc.5.
Is there a fix for CVE-2023-46494?
Yes. @evershop/evershop (npm): upgrade to 1.0.0-rc.5 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2023-46494 attacked?
It is attacked over the network.
Am I affected by CVE-2023-46494?
Check whether you run EverShop or @evershop/evershop (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

  • @evershop/evershop (npm): upgrade to 1.0.0-rc.5 or later
    npm install @evershop/evershop@1.0.0-rc.5

Technical details

A cross-site scripting (CWE-79) vulnerability exists in the ProductGrid function within admin/productGrid/Grid.jsx in EverShop npm package versions before 1.0.0-rc.5. The vulnerability is reachable over the network and requires user interaction (UI:R) but no authentication. An attacker can craft a malicious request to inject arbitrary JavaScript into the admin interface, potentially leading to session hijacking, credential theft, or unauthorized actions in the admin panel. The vulnerability was patched in version 1.0.0-rc.5 as indicated by the merged pull request #244.

Affected products

  • EverShop EverShop before 1.0.0-rc.5

Identifiers

  • CVE-2023-46494
  • GHSA-m6vm-ff9v-jp3r

Timeline

  • 2023-12-08: disclosed
  • 2023-04-27: patched: Patch merged in PR #244; fix available in version 1.0.0-rc.5

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.