{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-57583","id":"CVE-2026-57583","title":"OpenZeppelin Contracts Wizard: Line terminators in info.securityContact / info.license can inject lines into generated source","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 Solid","descriptionLong":"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.","published":"2026-09-14T17:44:45.248Z","updated":"2026-10-28T02:31:12.334538668Z","reserved":"2026-06-24T18:49:56.209Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":3.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","rating":"low","source":"GitHub_M"},"metrics":[{"version":"3.1","score":3.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","rating":"low","source":"GitHub_M"},{"version":"3.1","score":3.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","rating":"low","source":"github.com"},{"version":"3.1","score":3.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","rating":"low","source":"OSV"},{"version":"3.1","score":3.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","rating":"low","source":"GitHub"}],"rating":"low","products":["OpenZeppelin contracts-wizard","@openzeppelin wizard","@openzeppelin wizard-cairo","@openzeppelin wizard-stellar","@openzeppelin wizard-stylus"],"affectedProducts":[{"vendor":"OpenZeppelin","product":"contracts-wizard","defaultStatus":null,"versions":[{"version":"< 0.10.11","status":"affected"}],"platforms":[]},{"vendor":"@openzeppelin","product":"wizard","defaultStatus":null,"versions":[{"version":"< 0.10.11","status":"affected"}],"platforms":[]},{"vendor":"@openzeppelin","product":"wizard-cairo","defaultStatus":null,"versions":[{"version":"< 3.0.1","status":"affected"}],"platforms":[]},{"vendor":"@openzeppelin","product":"wizard-stellar","defaultStatus":null,"versions":[{"version":"< 0.6.2","status":"affected"}],"platforms":[]},{"vendor":"@openzeppelin","product":"wizard-stylus","defaultStatus":null,"versions":[{"version":"< 0.3.1","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"@openzeppelin/wizard","purl":"pkg:npm/%40openzeppelin/wizard","ranges":["<0.10.11"],"fixed":["0.10.11"],"advisory":"GHSA-9wxg-vf3r-56hc"},{"ecosystem":"npm","name":"@openzeppelin/wizard-cairo","purl":"pkg:npm/%40openzeppelin/wizard-cairo","ranges":["<3.0.1"],"fixed":["3.0.1"],"advisory":"GHSA-9wxg-vf3r-56hc"},{"ecosystem":"npm","name":"@openzeppelin/wizard-stellar","purl":"pkg:npm/%40openzeppelin/wizard-stellar","ranges":["<0.6.2"],"fixed":["0.6.2"],"advisory":"GHSA-9wxg-vf3r-56hc"},{"ecosystem":"npm","name":"@openzeppelin/wizard-stylus","purl":"pkg:npm/%40openzeppelin/wizard-stylus","ranges":["<0.3.1"],"fixed":["0.3.1"],"advisory":"GHSA-9wxg-vf3r-56hc"}],"cwes":["CWE-94","CWE-116"],"aliases":["GHSA-9wxg-vf3r-56hc"],"references":[{"url":"https://github.com/OpenZeppelin/contracts-wizard/security/advisories/GHSA-9wxg-vf3r-56hc","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/OpenZeppelin/contracts-wizard/pull/818","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/OpenZeppelin/contracts-wizard/commit/6b18ecbd727a22d9f8c592e5d56caa2e977fb225","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/OpenZeppelin/contracts-wizard/releases/tag/@openzeppelin/wizard-cairo@3.0.1","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/OpenZeppelin/contracts-wizard/releases/tag/@openzeppelin/wizard-stellar@0.6.2","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/OpenZeppelin/contracts-wizard/releases/tag/@openzeppelin/wizard-stylus@0.3.1","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/OpenZeppelin/contracts-wizard/releases/tag/@openzeppelin/wizard@0.10.11","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57583.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-57583","tags":["advisory"]},{"url":"https://github.com/OpenZeppelin/contracts-wizard","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00187,"epssPercentile":0.08407,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-57583","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-57583","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-57583","ok":true,"note":"4 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-9wxg-vf3r-56hc","ok":true,"note":"GHSA-9wxg-vf3r-56hc"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-57583","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}