{"answers":{"affected":"8 open source packages ship an affected version, including @openzeppelin/wizard, @openzeppelin/wizard-cairo and @openzeppelin/wizard-stellar.","exploited":"There is no known exploitation of CVE-2026-57583 in the wild and no public exploit code.","fix":"Upgrade @openzeppelin/wizard to 0.10.11 or later.","what":"CVE-2026-57583 is a low-severity code injection vulnerability in @openzeppelin contracts-wizard, published on 14 Sep 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-57583 and fix it if it is affected.\n\nWhat it is: CVE-2026-57583 is a low-severity code injection vulnerability in @openzeppelin contracts-wizard, published on 14 Sep 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-57583 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- @openzeppelin/wizard (npm): affected all versions; fixed in 0.10.11\n- @openzeppelin/wizard (npm): affected all versions; fixed in 0.10.11\n- @openzeppelin/wizard-cairo (npm): affected all versions; fixed in 3.0.1\n- @openzeppelin/wizard-cairo (npm): affected all versions; fixed in 3.0.1\n- @openzeppelin/wizard-stellar (npm): affected all versions; fixed in 0.6.2\n- @openzeppelin/wizard-stellar (npm): affected all versions; fixed in 0.6.2\n- @openzeppelin/wizard-stylus (npm): affected all versions; fixed in 0.3.1\n- @openzeppelin/wizard-stylus (npm): affected all versions; fixed in 0.3.1\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-57583/ (Markdown: https://insights.sbomify.com/CVE-2026-57583/index.md)","id":"CVE-2026-57583","markdown":"https://insights.sbomify.com/CVE-2026-57583/index.md","name":"CVE-2026-57583","record":{"aliases":["GHSA-9wxg-vf3r-56hc"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"Smart contract generator","requires_auth":"none","summary":"Attackers can inject malicious code into generated smart contracts via line terminators in metadata fields, requiring specific integration setups.","user_interaction":"required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":3.3,"severity":"low","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"},{"id":"CWE-116","name":"Improper Encoding or Escaping of Output"}],"description":"OpenZeppelin Contracts Wizard is a web application to interactively build a contract out of components from OpenZeppelin Contracts. Prior to @openzeppelin/wizard 0.10.11, @openzeppelin/wizard-cairo 3.0.1, @openzeppelin/wizard-stellar 0.6.2, and @openzeppelin/wizard-stylus 0.3.1, the setInfo code path prints info.securityContact and info.license verbatim into single-line comments in generated Solidity, Cairo, Stellar/Soroban, and Stylus source. A line terminator ends the comment and causes following input to be emitted as source declarations. Exploitation requires an integration to populate these fields from untrusted input and a user to consume the generated source; normal self-service web, AI assistant, CLI, and self-hosted API use does not cross that trust boundary, shared links cannot set the fields, and no code executes on a Wizard service. This issue affects generated-source integrity only and is fixed in versions 0.10.11, 3.0.1, 0.6.2, and 0.3.1 of the respective packages.","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":false,"headline":"OpenZeppelin Contracts Wizard: Line terminators in info.securityContact / info.license can inject lines into generated source","id":"CVE-2026-57583","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"code_injection","year":"2026"},"n_packages":8,"n_references":7,"next":{"headline":"Phalcon: Catastrophic backtracking (ReDoS) in the default Phalcon Router route lead to remote unauthenticated DoS","id":"CVE-2026-57584"},"packages":[{"ecosystem":"npm","fixed":["0.10.11"],"introduced":["0"],"last_affected":[],"package":"@openzeppelin/wizard","purl":null,"source":"GHSA-9wxg-vf3r-56hc"},{"ecosystem":"npm","fixed":["0.10.11"],"introduced":["0"],"last_affected":[],"package":"@openzeppelin/wizard","purl":"pkg:npm/%40openzeppelin/wizard","source":"GHSA-9wxg-vf3r-56hc"},{"ecosystem":"npm","fixed":["3.0.1"],"introduced":["0"],"last_affected":[],"package":"@openzeppelin/wizard-cairo","purl":null,"source":"GHSA-9wxg-vf3r-56hc"},{"ecosystem":"npm","fixed":["3.0.1"],"introduced":["0"],"last_affected":[],"package":"@openzeppelin/wizard-cairo","purl":"pkg:npm/%40openzeppelin/wizard-cairo","source":"GHSA-9wxg-vf3r-56hc"},{"ecosystem":"npm","fixed":["0.6.2"],"introduced":["0"],"last_affected":[],"package":"@openzeppelin/wizard-stellar","purl":null,"source":"GHSA-9wxg-vf3r-56hc"},{"ecosystem":"npm","fixed":["0.6.2"],"introduced":["0"],"last_affected":[],"package":"@openzeppelin/wizard-stellar","purl":"pkg:npm/%40openzeppelin/wizard-stellar","source":"GHSA-9wxg-vf3r-56hc"},{"ecosystem":"npm","fixed":["0.3.1"],"introduced":["0"],"last_affected":[],"package":"@openzeppelin/wizard-stylus","purl":null,"source":"GHSA-9wxg-vf3r-56hc"},{"ecosystem":"npm","fixed":["0.3.1"],"introduced":["0"],"last_affected":[],"package":"@openzeppelin/wizard-stylus","purl":"pkg:npm/%40openzeppelin/wizard-stylus","source":"GHSA-9wxg-vf3r-56hc"}],"prev":{"headline":"DotVVM: Unrestricted file upload","id":"CVE-2026-57581"},"products":["contracts-wizard","wizard","wizard-cairo","wizard-stellar","wizard-stylus"],"published":"2026-09-14","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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-14","vendors":["@openzeppelin","OpenZeppelin"]},"summary":"Attackers can inject malicious code into generated smart contracts via line terminators in metadata fields, requiring specific integration setups.","url":"https://insights.sbomify.com/CVE-2026-57583/"}