{"answers":{"affected":"2 open source packages ship an affected version, including @evershop/evershop. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-46943 in the wild and no public exploit code.","fix":"Upgrade @evershop/evershop to 1.0.0-rc.9 or later.","what":"CVE-2023-46943 is a critical vulnerability in n/a, published on 13 Jan 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-46943 and fix it if it is affected.\n\nWhat it is: CVE-2023-46943 is a critical vulnerability in n/a, published on 13 Jan 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-46943 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- @evershop/evershop (npm): affected all versions; fixed in 1.0.0-rc.9\n- @evershop/evershop (npm): affected all versions; fixed in 1.0.0-rc.9\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-46943/ (Markdown: https://insights.sbomify.com/CVE-2023-46943/index.md)","id":"CVE-2023-46943","markdown":"https://insights.sbomify.com/CVE-2023-46943/index.md","name":"CVE-2023-46943","record":{"aliases":["GHSA-32r3-57hp-cgfw"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["account_takeover","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Evershop e-commerce","requires_auth":"none","summary":"Attackers can forge valid JWTs using a hardcoded HMAC secret to access sensitive information and perform unauthorized actions in Evershop.","user_interaction":"not_required","vuln_class":"hardcoded_credentials"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"evershop","vendor":"evershop"}],"cvss":{"score":9.1,"severity":"critical","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-798","name":"Use of Hard-coded Credentials"}],"description":"An issue was discovered in NPM's package @evershop/evershop before version 1.0.0-rc.8. 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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"EverShop at risk to unauthorized access via weak HMAC secret","id":"CVE-2023-46943","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"hardcoded_credentials","year":"2023"},"n_packages":2,"n_references":2,"next":{"headline":"Code injection in n/a","id":"CVE-2023-46944"},"packages":[{"ecosystem":"npm","fixed":["1.0.0-rc.9"],"introduced":["0"],"last_affected":[],"package":"@evershop/evershop","purl":null,"source":"GHSA-32r3-57hp-cgfw"},{"ecosystem":"npm","fixed":["1.0.0-rc.9"],"introduced":["0"],"last_affected":[],"package":"@evershop/evershop","purl":"pkg:npm/%40evershop/evershop","source":"GHSA-32r3-57hp-cgfw"}],"prev":{"headline":"EverShop vulnerable to improper authorization in GraphQL endpoints","id":"CVE-2023-46942"},"products":["n/a"],"published":"2024-01-13","related":[{"cvss_score":9.8,"headline":"EverShop Vulnerable to Arbitrary Customer Account Takeover via Exposure of Password Reset Token in API Response","id":"CVE-2026-28213","kev_date_added":null,"published":"2026-02-26"},{"cvss_score":9.8,"headline":"Code execution in evershop","id":"CVE-2023-46498","kev_date_added":null,"published":"2023-12-08"},{"cvss_score":9.3,"headline":"EverShop has a Second-Order SQL Injection in URL Rewrite Processing Derived from Category URL Keys","id":"CVE-2026-25993","kev_date_added":null,"published":"2026-02-10"},{"cvss_score":8.3,"headline":"Directory Traversal in evershop","id":"CVE-2023-46496","kev_date_added":null,"published":"2023-12-08"},{"cvss_score":7.5,"headline":"evershop allows unauthenticated attackers to exhaust application server's resources via \"GET /images\" API","id":"CVE-2025-67419","kev_date_added":null,"published":"2026-01-05"},{"cvss_score":7.5,"headline":"File upload in n/a","id":"CVE-2025-65844","kev_date_added":null,"published":"2025-12-02"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-08-30","vendors":["n/a"]},"summary":"Attackers can forge valid JWTs using a hardcoded HMAC secret to access sensitive information and perform unauthorized actions in Evershop.","url":"https://insights.sbomify.com/CVE-2023-46943/"}