Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-57583

LOW 3.3EPSS 5%

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
Published
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 / productAffectedFixedSource
npm @openzeppelin/wizard< 0.10.110.10.11osv
npm @openzeppelin/wizard-cairo< 3.0.13.0.1osv
npm @openzeppelin/wizard-stellar< 0.6.20.6.2osv
npm @openzeppelin/wizard-stylus< 0.3.10.3.1osv
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

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.

Sponsors