An issue was discovered in NPM's package @evershop/evershop before version 1.0.0-rc.9. The HMAC secret used for generating tokens is hardcoded as "secret". A weak HMAC secret poses a risk because attackers can use the predictable secret to create valid JSON Web Tokens (JWTs), allowing them access to important information and actions within the application.
{
"cwe_ids": [
"CWE-284",
"CWE-798"
],
"github_reviewed": true,
"severity": "CRITICAL",
"github_reviewed_at": "2024-01-16T16:36:47Z",
"nvd_published_at": "2024-01-13T02:15:07Z"
}