# CVE-2023-46943: EverShop hard-coded HMAC secret in JWT authentication

Source: https://junglewise.ai/threats/cve-2023-46943-evershop-hard-coded-hmac-secret-in-jwt-authentication  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-01-13. Updated: 2026-05-14  
License: CC BY 4.0 with a link back

CVE-2023-46943 · Severity: low · CVSS 3.1 · Published 2024-01-13

EverShop, an e-commerce platform, was found to use a hard-coded and easily guessable secret key for securing user sessions. This flaw allows an attacker to forge digital identity tokens, potentially gaining full administrative access to the online store. Such an exploit could lead to the theft of customer data, unauthorized modifications to the store, or complete account takeovers.

Technologies: [EverShop](https://junglewise.ai/threats/technologies/evershop), [@evershop/evershop (npm)](https://junglewise.ai/threats/technologies/evershop-evershop). Vendors: [EverShop](https://junglewise.ai/threats/vendors/evershop), [npm](https://junglewise.ai/threats/vendors/npm).

## Quick answers

**Is CVE-2023-46943 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2023-46943 being exploited in the wild.

**How severe is CVE-2023-46943?** Low severity, with a CVSS score of 3.1, published 13 January 2024.

**Which products and versions are affected?** EverShop < 1.0.0-rc.8; @evershop/evershop (npm) SEMVER:introduced=0,fixed=1.0.0-rc.9.

**Is there a fix for CVE-2023-46943?** Yes. @evershop/evershop (npm): upgrade to 1.0.0-rc.9 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2023-46943 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2023-46943?** 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.9 or later

  ```sh
  npm install @evershop/evershop@1.0.0-rc.9
  ```


## Technical details

A vulnerability exists in the @evershop/evershop NPM package where the HMAC secret used for signing JSON Web Tokens (JWT) is hard-coded as 'secret'. This falls under CWE-798 (Use of Hard-coded Credentials). Because the secret is predictable and publicly known, a remote, unauthenticated attacker can generate valid JWTs with arbitrary claims. This allows for complete authentication bypass and privilege escalation within the application. The issue was addressed in version 1.0.0-rc.8 by transitioning to a more secure session authentication mechanism.

## Affected products

- EverShop evershop < 1.0.0-rc.8

## Identifiers

- CVE-2023-46943
- GHSA-32r3-57hp-cgfw

## Timeline

- 2024-01-12: advisory: NVD published CVE-2023-46943
- 2024-01-13: disclosed: GHSA advisory published

## References

- [https://github.com/evershopcommerce/evershop/commit/96d9ca3e024e0b63c538911e4a914df3d287cc9f](https://github.com/evershopcommerce/evershop/commit/96d9ca3e024e0b63c538911e4a914df3d287cc9f)
- [https://advisory.checkmarx.net/advisory/CVE-2023-46943](https://advisory.checkmarx.net/advisory/CVE-2023-46943)
- [https://devhub.checkmarx.com/cve-details/CVE-2023-46943](https://devhub.checkmarx.com/cve-details/CVE-2023-46943)
- [https://github.com/evershopcommerce/evershop](https://github.com/evershopcommerce/evershop)

## Related threats

- [EverShop missing authorization in customer address API](https://junglewise.ai/threats/cve-2026-115323-evershop-1-2-2-before-2-2-1-contains-a-missing-authorization)
- [EverShop customer update authentication bypass](https://junglewise.ai/threats/cve-2026-72843-evershop-customer-update-authentication-bypass)
- [EverShop server-side request forgery in images API](https://junglewise.ai/threats/cve-2025-67427-evershop-server-side-request-forgery-in-images-api)
- [EverShop denial of service in image processing API](https://junglewise.ai/threats/cve-2025-67419-evershop-denial-of-service-in-image-processing-api)
- [EverShop 2.0.1 allows a remote unauthenticated attacker to upload arbitrary files and create directories via the…](https://junglewise.ai/threats/cve-2025-65844-evershop-2-0-1-allows-a-remote-unauthenticated-attacker-to-upload)
