# CVE-2026-57583: OpenZeppelin Contracts Wizard: Line terminators in info.securityContact / info.license can inject lines into generated source

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** LOW 3.3
- **CVSS:** 3.3 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.19% (percentile 5, 2026-11-26)
- **CWE:** CWE-94, CWE-116
- **Aliases:** GHSA-9wxg-vf3r-56hc
- **Published:** 2026-06-19T17:45:15.000Z
- **Modified:** 2026-09-30T19:57:08.043Z

## 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

## 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

- npm `@openzeppelin/wizard`: affected \< 0.10.11; fixed 0.10.11 (osv)
- npm `@openzeppelin/wizard-cairo`: affected \< 3.0.1; fixed 3.0.1 (osv)
- npm `@openzeppelin/wizard-stellar`: affected \< 0.6.2; fixed 0.6.2 (osv)
- npm `@openzeppelin/wizard-stylus`: affected \< 0.3.1; fixed 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)

## 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.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- vendor: <https://github.com/OpenZeppelin/contracts-wizard/security/advisories/GHSA-9wxg-vf3r-56hc>
- patch: <https://github.com/OpenZeppelin/contracts-wizard/pull/818>
- patch: <https://github.com/OpenZeppelin/contracts-wizard/commit/6b18ecbd727a22d9f8c592e5d56caa2e977fb225>
- other: <https://github.com/OpenZeppelin/contracts-wizard/releases/tag/@openzeppelin/wizard-cairo@3.0.1>
- other: <https://github.com/OpenZeppelin/contracts-wizard/releases/tag/@openzeppelin/wizard-stellar@0.6.2>
- other: <https://github.com/OpenZeppelin/contracts-wizard/releases/tag/@openzeppelin/wizard-stylus@0.3.1>
- other: <https://github.com/OpenZeppelin/contracts-wizard/releases/tag/@openzeppelin/wizard@0.10.11>
- other: <https://github.com/OpenZeppelin/contracts-wizard>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-57583>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-9wxg-vf3r-56hc> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-57583> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-57583>
