CVE-2026-57583
OpenZeppelin Contracts Wizard: Line terminators in info.securityContact / info.license can inject lines into generated source
Also known as GHSA-9wxg-vf3r-56hc
Mitigation
- Upgrade @openzeppelin/wizard to 0.10.11 or later.
- Upgrade @openzeppelin/wizard-cairo to 3.0.1 or later.
- Upgrade @openzeppelin/wizard-stellar to 0.6.2 or later.
- Upgrade @openzeppelin/wizard-stylus to 0.3.1 or later.
Who should check
- Projects that depend on npm package @openzeppelin/wizard (< 0.10.11)
- Projects that depend on npm package @openzeppelin/wizard-cairo (< 3.0.1)
- Projects that depend on npm package @openzeppelin/wizard-stellar (< 0.6.2)
- Projects that depend on npm package @openzeppelin/wizard-stylus (< 0.3.1)
- Anyone running OpenZeppelin contracts-wizard < 0.10.11
- Anyone running @openzeppelin wizard < 0.10.11
- Anyone running @openzeppelin wizard-cairo < 3.0.1
- Anyone running @openzeppelin wizard-stellar < 0.6.2
Vulnerability facts
- Affected
- @openzeppelin/wizard < 0.10.11; @openzeppelin/wizard-cairo < 3.0.1; @openzeppelin/wizard-stellar < 0.6.2; @openzeppelin/wizard-stylus < 0.3.1
- Fixed in
- 0.10.11, 3.0.1, 0.6.2, 0.3.1
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 3.3 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: None
- User interaction: Required
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: Low
- Availability impact: None
- EPSS
- 0.19% chance of exploitation in 30 days (percentile 5, 2026-11-26)
- CWE
- CWE-94, CWE-116
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| npm @openzeppelin/wizard | < 0.10.11 | 0.10.11 | osv |
| npm @openzeppelin/wizard-cairo | < 3.0.1 | 3.0.1 | osv |
| npm @openzeppelin/wizard-stellar | < 0.6.2 | 0.6.2 | osv |
| npm @openzeppelin/wizard-stylus | < 0.3.1 | 0.3.1 | osv |
| OpenZeppelin contracts-wizard | < 0.10.11 | — | cvelist |
| @openzeppelin wizard | < 0.10.11 | — | cvelist |
| @openzeppelin wizard-cairo | < 3.0.1 | — | cvelist |
| @openzeppelin wizard-stellar | < 0.6.2 | — | cvelist |
| @openzeppelin wizard-stylus | < 0.3.1 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-57583. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-57583.md Affected: @openzeppelin/wizard < 0.10.11; @openzeppelin/wizard-cairo < 3.0.1; @openzeppelin/wizard-stellar < 0.6.2; @openzeppelin/wizard-stylus < 0.3.1 Fixed in: 0.10.11, 3.0.1, 0.6.2, 0.3.1 Steps: 1. Search this machine and project for @openzeppelin/wizard (npm), @openzeppelin/wizard-cairo (npm), @openzeppelin/wizard-stellar (npm), @openzeppelin/wizard-stylus (npm), OpenZeppelin contracts-wizard, @openzeppelin wizard: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
Other
- https://github.com/OpenZeppelin/contracts-wizard/releases/tag/@openzeppelin/wizard-cairo@3.0.1
- https://github.com/OpenZeppelin/contracts-wizard/releases/tag/@openzeppelin/wizard-stellar@0.6.2
- https://github.com/OpenZeppelin/contracts-wizard/releases/tag/@openzeppelin/wizard-stylus@0.3.1
- https://github.com/OpenZeppelin/contracts-wizard/releases/tag/@openzeppelin/wizard@0.10.11
- https://github.com/OpenZeppelin/contracts-wizard
FAQ
Is CVE-2026-57583 being exploited?
There is no confirmed exploitation: CVE-2026-57583 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.19% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-57583?
Low: CVSS 3.3 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2026-57583?
@openzeppelin/wizard < 0.10.11; @openzeppelin/wizard-cairo < 3.0.1; @openzeppelin/wizard-stellar < 0.6.2; @openzeppelin/wizard-stylus < 0.3.1.
Is there a fix for CVE-2026-57583?
Yes. Fixed in 0.10.11, 3.0.1, 0.6.2, 0.3.1. Upgrade @openzeppelin/wizard to 0.10.11 or later. Upgrade @openzeppelin/wizard-cairo to 3.0.1 or later. Upgrade @openzeppelin/wizard-stellar to 0.6.2 or later. Upgrade @openzeppelin/wizard-stylus to 0.3.1 or later.
How do I check if I'm affected by CVE-2026-57583?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.