Improper output encoding in OpenZeppelin contracts-wizard
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- None · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-94.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| OpenZeppelin | contracts-wizard | before 0.10.11 | 0.10.11 | Patch available | CNA |
| OpenZeppelin | wizard | before 0.10.11 | 0.10.11 | Patch available | CNA |
| OpenZeppelin | wizard-cairo | before 3.0.1 | 3.0.1 | Patch available | CNA |
| OpenZeppelin | wizard-stellar | before 0.6.2 | 0.6.2 | Patch available | CNA |
| OpenZeppelin | wizard-stylus | before 0.3.1 | 0.3.1 | Patch available | CNA |
- contracts-wizard VendorOpenZeppelin Affected before 0.10.11 Fixed in 0.10.11 Patch available CNA
- wizard VendorOpenZeppelin Affected before 0.10.11 Fixed in 0.10.11 Patch available CNA
- wizard-cairo VendorOpenZeppelin Affected before 3.0.1 Fixed in 3.0.1 Patch available CNA
- wizard-stellar VendorOpenZeppelin Affected before 0.6.2 Fixed in 0.6.2 Patch available CNA
- wizard-stylus VendorOpenZeppelin Affected before 0.3.1 Fixed in 0.3.1 Patch available CNA
Remediation
- Fix · CNA contracts-wizard (OpenZeppelin) Fixed in 0.10.11
- Fix · CNA wizard (@openzeppelin) Fixed in 0.10.11
- Fix · CNA wizard-cairo (@openzeppelin) Fixed in 3.0.1
- Fix · CNA wizard-stellar (@openzeppelin) Fixed in 0.6.2
- Fix · CNA wizard-stylus (@openzeppelin) Fixed in 0.3.1
Timeline
- 2026-10-02 Threatist record created from CVE-2026-57583
References
Other 7
- https://github.com/OpenZeppelin/contracts-wizard/security/advisories/GHSA-9wxg-vf3r-56hc
- https://github.com/OpenZeppelin/contracts-wizard/pull/818
- https://github.com/OpenZeppelin/contracts-wizard/commit/6b18ecbd727a22d9f8c592e5d56caa2e977fb225
- 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]
More OpenZeppelin vulnerabilities
- TI-2022-13196 OpenZeppelin Contracts for Cairo account cannot process transactions on Goerli CVSS 3.1MEDIUM 6.5
- TI-2021-16554 TimelockController vulnerability in OpenZeppelin Contracts CVSS 3.1CRITICAL 10.0
- TI-2021-16553 TimelockController vulnerability in OpenZeppelin Contracts CVSS 3.1CRITICAL 10.0
- TI-2021-18096 UUPSUpgradeable vulnerability in OpenZeppelin Contracts CVSS 3.1CRITICAL 9.8
- TI-2026-35496 Code injection in OpenZeppelin contracts-wizard CVSS 3.1HIGH 8.8
- TI-2022-13238 GovernorVotesQuorumFraction updates to quorum may affect past defeated proposals in @openzeppelin/contracts CVSS 3.1HIGH 7.5
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences