OpenZeppelin Contracts Wizard: Line terminators in info.securityContact / info.license can inject lines into generated source

Summary

CVECVE-2026-57583
StatePUBLISHED
AssignerGitHub_M
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-09-14 18:17:58 UTC
Updated2026-09-14 19:17:37 UTC
DescriptionOpenZeppelin 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.

Risk And Classification

Primary CVSS: v3.1 3.3 LOW from [email protected]

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

Problem Types: CWE-94 | CWE-116 | CWE-94 CWE-94: Improper Control of Generation of Code ('Code Injection') | CWE-116 CWE-116: Improper Encoding or Escaping of Output


VersionSourceTypeScoreSeverityVector
3.1[email protected]Secondary3.3LOWCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
3.1CNADECLARED3.3LOWCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA OpenZeppelin Contracts-wizard affected < 0.10.11 Not specified
CNA @openzeppelin Wizard affected < 0.10.11 Not specified
CNA @openzeppelin Wizard-cairo affected < 3.0.1 Not specified
CNA @openzeppelin Wizard-stellar affected < 0.6.2 Not specified
CNA @openzeppelin Wizard-stylus affected < 0.3.1 Not specified

References

ReferenceSourceLinkTags
github.com/OpenZeppelin/contracts-wizard/pull/818 [email protected] github.com
github.com/OpenZeppelin/contracts-wizard/releases/tag/@openzeppelin/wiza... [email protected] github.com
github.com/OpenZeppelin/contracts-wizard/security/advisories/GHSA-9wxg-v... [email protected] github.com
github.com/OpenZeppelin/contracts-wizard/releases/tag/@openzeppelin/wiza... [email protected] github.com
github.com/OpenZeppelin/contracts-wizard/releases/tag/@openzeppelin/wiza... [email protected] github.com
github.com/OpenZeppelin/contracts-wizard/releases/tag/@openzeppelin/wiza... [email protected] github.com
github.com/OpenZeppelin/contracts-wizard/commit/6b18ecbd727a22d9f8c592e5... [email protected] github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report