CVE-2026-57583 json
OpenZeppelin Contracts Wizard: Line terminators in info.securityContact / info.license can inject lines into generated source
published 2026-06-19 4 mo ago modified 2026-09-30 39 d ago also GHSA-9wxg-vf3r-56hc , EUVD-2026-77702
- cvss
- 3.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 8%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm @openzeppelin/wizard 0.10.11
- npm @openzeppelin/wizard-cairo 3.0.1
- npm @openzeppelin/wizard-stellar 0.6.2
- npm @openzeppelin/wizard-stylus 0.3.1
- github.com/OpenZeppelin/contracts-wizard@6b18ecb commit
- github.com/OpenZeppelin/contracts-wizard#818 pull request
- github.com/OpenZeppelin/contracts-wizard/releases/tag/@openzeppelin/w… release
- github.com/OpenZeppelin/contracts-wizard/releases/tag/@openzeppelin/w… release
- github.com/OpenZeppelin/contracts-wizard/releases/tag/@openzeppelin/w… release
- github.com/OpenZeppelin/contracts-wizard/releases/tag/@openzeppelin/w… release
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 55 d ago
Exploit prediction
0.19% chance of exploitation in the next 30 days, higher than 8% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 3.3 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N |
| GitHub | 3.1 | 3.3 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | @openzeppelin/wizard | <0.10.11 |
0.10.11 |
| npm | @openzeppelin/wizard-cairo | <3.0.1 |
3.0.1 |
| npm | @openzeppelin/wizard-stellar | <0.6.2 |
0.6.2 |
| npm | @openzeppelin/wizard-stylus | <0.3.1 |
0.3.1 |
Affected products
- OpenZeppelin contracts-wizard
- @openzeppelin wizard
- @openzeppelin wizard-cairo
- @openzeppelin wizard-stellar
- @openzeppelin wizard-stylus
Classification
References
- github.com /OpenZeppelin/contracts-wizard/pull/818
- github.com /OpenZeppelin/contracts-wizard/commit/6b18ecbd727a22d9f8c592e5d56caa2e977fb225
-
github.com
/OpenZeppelin/contracts-wizard/security/advisories/GHSA-9wxg-vf3r-56hc
web
- github.com /OpenZeppelin/contracts-wizard/releases/tag/@openzeppelin/wizard-cairo@3.0.1
- github.com /OpenZeppelin/contracts-wizard/releases/tag/@openzeppelin/wizard-stellar@0.6.2
- github.com /OpenZeppelin/contracts-wizard/releases/tag/@openzeppelin/wizard-stylus@0.3.1
- github.com /OpenZeppelin/contracts-wizard/releases/tag/@openzeppelin/wizard@0.10.11
-
github.com
/OpenZeppelin/contracts-wizard
package
Sources
- CVE List CVE-2026-57583
- GitHub Advisory GHSA-9wxg-vf3r-56hc
- NVD CVE-2026-57583
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.