OpenZeppelin Contracts Wizard: Line terminators in info.securityContact / info.license can inject lines into generated source
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| OpenZeppelin | contracts-wizard | affected |
|
||||||
| @openzeppelin | wizard | affected |
|
||||||
| @openzeppelin | wizard-cairo | affected |
|
||||||
| @openzeppelin | wizard-stellar | affected |
|
||||||
| @openzeppelin | wizard-stylus | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Openzeppelin | Contracts-wizard |
|
||||||||
| Openzeppelin | Wizard |
|
||||||||
| Openzeppelin | Wizard-cairo |
|
||||||||
| Openzeppelin | Wizard-stellar |
|
||||||||
| Openzeppelin | Wizard-stylus |
|
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.187% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Openzeppelin
Openzeppelin contracts-wizard Openzeppelin wizard Openzeppelin wizard-cairo Openzeppelin wizard-stellar Openzeppelin wizard-stylus |
|
| Vendors & Products |
Openzeppelin
Openzeppelin contracts-wizard Openzeppelin wizard Openzeppelin wizard-cairo Openzeppelin wizard-stellar Openzeppelin wizard-stylus |
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | OpenZeppelin Contracts Wizard: Line terminators in info.securityContact / info.license can inject lines into generated source | |
| Weaknesses | CWE-116 CWE-94 |
|
| References |
|
|
| Metrics |
cvssV3_1
|