CVE-2026-57583
published low CVSS 3.1 · 3.3OpenZeppelin Contracts Wizard: Line terminators in info.securityContact / info.license can inject lines into generated source
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| OpenZeppelin | — | contracts-wizard< 0.10.11 | Affected | Not stated | GitHub_M |
| @openzeppelin | — | wizard< 0.10.11 | Affected | Not stated | GitHub_M |
| @openzeppelin | — | wizard-cairo< 3.0.1 | Affected | Not stated | GitHub_M |
| @openzeppelin | — | wizard-stellar< 0.6.2 | Affected | Not stated | GitHub_M |
| @openzeppelin | — | wizard-stylus< 0.3.1 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 3.3 / 10
- Severity
- low
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| OpenZeppelin | contracts-wizard | < 0.10.11 (affected) | GitHub_M · cna |
| @openzeppelin | wizard | < 0.10.11 (affected) | GitHub_M · cna |
| @openzeppelin | wizard-cairo | < 3.0.1 (affected) | GitHub_M · cna |
| @openzeppelin | wizard-stellar | < 0.6.2 (affected) | GitHub_M · cna |
| @openzeppelin | wizard-stylus | < 0.3.1 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-94 CWE-94: Improper Control of Generation of Code ('Code Injection')
- CWE-116 CWE-116: Improper Encoding or Escaping of Output
References
7- https://github.com/OpenZeppelin/contracts-wizard/commit/6b18ecbd727a22d9f8c592e5d56caa2e977fb225
- https://github.com/OpenZeppelin/contracts-wizard/pull/818
- https://github.com/OpenZeppelin/contracts-wizard/releases/tag/@openzeppelin/[email protected]
- https://github.com/OpenZeppelin/contracts-wizard/releases/tag/@openzeppelin/[email protected]
- https://github.com/OpenZeppelin/contracts-wizard/releases/tag/@openzeppelin/[email protected]
- https://github.com/OpenZeppelin/contracts-wizard/releases/tag/@openzeppelin/[email protected]
- https://github.com/OpenZeppelin/contracts-wizard/security/advisories/GHSA-9wxg-vf3r-56hc
Provider assertions
2GitHub_M · cna
OpenZeppelin Contracts Wizard: Line terminators in info.securityContact / info.license can inject lines into generated source
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- be9021ed2c485573ed9d77b46b5f1775393536deb83b31e280bdf64102b651d3
- Ingested
- 23 Sep 2026, 09:22:07 UTC
- Source record
- Official CVE record