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.
History

Thu, 17 Sep 2026 20:30:00 +0000

Type Values Removed Values Added
First Time appeared Openzeppelin
Openzeppelin contracts-wizard
Openzeppelin wizard
Openzeppelin wizard-cairo
Openzeppelin wizard-stellar
Openzeppelin wizard-stylus
Vendors & Products Openzeppelin
Openzeppelin contracts-wizard
Openzeppelin wizard
Openzeppelin wizard-cairo
Openzeppelin wizard-stellar
Openzeppelin wizard-stylus

Mon, 14 Sep 2026 21:00:00 +0000

Type Values Removed Values Added
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.
Title OpenZeppelin Contracts Wizard: Line terminators in info.securityContact / info.license can inject lines into generated source
Weaknesses CWE-116
CWE-94
References
Metrics cvssV3_1

{'score': 3.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published: 2026-09-14T17:44:45.248Z

Updated: 2026-09-14T19:06:58.101Z

Reserved: 2026-06-24T18:49:56.209Z

Link: CVE-2026-57583

cve-icon Vulnrichment

Updated: 2026-09-14T19:06:51.766Z

cve-icon NVD

Status : Deferred

Published: 2026-09-14T18:17:58.720

Modified: 2026-09-30T19:57:08.043

Link: CVE-2026-57583

cve-icon Redhat

No data.