CVE-2023-46943
JavaScript vulnerability analysis and mitigation

Overview

A critical security vulnerability (CVE-2023-46943) was discovered in NPM's package @evershop/evershop before version 1.0.0-rc.8. The vulnerability stems from a hardcoded HMAC secret used for generating tokens, which was set to the value "secret". This vulnerability was disclosed on January 12, 2024, and affects all versions of the package prior to version 1.0.0-rc.8 (NVD, DevHub).

Technical details

The vulnerability has been assigned a CVSS v3.1 base score of 9.1 (CRITICAL) with the following vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N. The issue is classified under CWE-798 (Use of Hard-coded Credentials). The technical nature of the vulnerability involves the use of a predictable, hardcoded HMAC secret for generating JSON Web Tokens (JWTs), which is a fundamental security component of the application (NVD).

Impact

The vulnerability allows attackers to create valid JSON Web Tokens (JWTs) using the known hardcoded secret. This enables unauthorized access to important information and actions within the application. The impact is particularly severe as it affects both confidentiality and integrity of the system, while not affecting availability (DevHub).

Mitigation and workarounds

The vulnerability has been fixed in version 1.0.0-rc.8 of @evershop/evershop through the implementation of session authentication. Users are advised to upgrade to this version or later to mitigate the risk (DevHub).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-23947CRITICAL9.3
  • JavaScriptJavaScript
  • @orval/core
NoYesJan 20, 2026
CVE-2026-23950HIGH8.8
  • JavaScriptJavaScript
  • grafana-graphite
NoYesJan 20, 2026
CVE-2026-22037HIGH8.4
  • JavaScriptJavaScript
  • @fastify/express
NoYesJan 19, 2026
CVE-2026-23522LOW3.7
  • JavaScriptJavaScript
  • @lobehub/chat
NoNoJan 19, 2026
CVE-2025-66803LOW1.7
  • JavaScriptJavaScript
  • @hotwired/turbo
NoYesJan 20, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management