{"answers":{"affected":"2 open source packages ship an affected version, including sjcl. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-4258 exists.","fix":"Upgrade sjcl to 1.0.9 or later.","what":"CVE-2026-4258 is a high-severity vulnerability in org.webjars.npm:sjcl, published on 17 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-4258 and fix it if it is affected.\n\nWhat it is: CVE-2026-4258 is a high-severity vulnerability in org.webjars.npm:sjcl, published on 17 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-4258 exists.\n\nAffected packages and fixed versions:\n- sjcl (npm): affected all versions; fixed in 1.0.9\n- sjcl (npm): affected all versions; fixed in 1.0.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-2026-4258/ (Markdown: https://insights.sbomify.com/CVE-2026-4258/index.md)","id":"CVE-2026-4258","markdown":"https://insights.sbomify.com/CVE-2026-4258/index.md","name":"CVE-2026-4258","record":{"aliases":["GHSA-2w8x-224x-785m"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"JavaScript crypto library","requires_auth":"none","summary":"An attacker can recover a victim's ECDH private key by sending crafted off-curve public keys due to missing point-on-curve validation in the sjcl library.","user_interaction":"not_required","vuln_class":"weak_cryptography"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"snyk","cpe":[{"product":"stanford_javascript_crypto_library","vendor":"bitwiseshiftleft"}],"cvss":{"score":8.7,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P","version":"4.0"},"cwes":[{"id":"CWE-325","name":"Missing Cryptographic Step"},{"id":"CWE-347","name":"Improper Verification of Cryptographic Signature"}],"description":"Versions of the package sjcl before 1.0.9 are vulnerable to Improper Verification of Cryptographic Signature due to missing point-on-curve validation in sjcl.ecc.basicKey.publicKey(). An attacker can recover a victim's ECDH private key by sending crafted off-curve public keys and observing ECDH outputs. The dhJavaEc() function directly returns the raw x-coordinate of the scalar multiplication result (no hashing), providing a plaintext oracle without requiring any decryption feedback.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"sjcl is missing point-on-curve validation in sjcl.ecc.basicKey.publicKey","id":"CVE-2026-4258","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"weak_cryptography","year":"2026"},"n_packages":2,"n_references":5,"next":{"headline":"Ultimate WooCommerce Auction Pro \u003c= 2.4.5 - Reflected XSS via uwa_manage_auctions","id":"CVE-2026-4259"},"packages":[{"ecosystem":"npm","fixed":["1.0.9"],"introduced":["0"],"last_affected":[],"package":"sjcl","purl":null,"source":"GHSA-2w8x-224x-785m"},{"ecosystem":"npm","fixed":["1.0.9"],"introduced":["0"],"last_affected":[],"package":"sjcl","purl":"pkg:npm/sjcl","source":"GHSA-2w8x-224x-785m"}],"prev":{"headline":"Contact Form by Supsystic \u003c= 1.7.36 - Unauthenticated Server-Side Template Injection via Prefill Functionality","id":"CVE-2026-4257"},"products":["org.webjars.npm:sjcl","sjcl"],"published":"2026-03-17","related":[],"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":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-08-07","vendors":["n/a"]},"summary":"An attacker can recover a victim's ECDH private key by sending crafted off-curve public keys due to missing point-on-curve validation in the sjcl library.","url":"https://insights.sbomify.com/CVE-2026-4258/"}