Skip to content

← Public intelligence

npm package

@openzeppelin/wizard-cairo

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

1 actionable advisory, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. Low, CVSS 3.3npmAmendedPublished

    OpenZeppelin Contracts Wizard: Line terminators in info.securityContact / info.license can inject lines into generated source

    CVE-2026-57583 · GHSA-9wxg-vf3r-56hc

    Affected
    • npm @openzeppelin/wizard-cairo <= 3.0.0
    Fixed in
    3.0.1· Vendor fix available
    Issue
    The Contracts Wizard generators printed info.securityContact and info.license verbatim into a single-line comment of the generated Solidity, Cairo, Stellar/Soroban, and Stylus source without rejecting line terminators. A newline (\n or \r\n) in either field ends the comment, so the text after it is emitted as source rather than remaining inside the comment — allowing arbitrary declarations to be injected into the generated contract. Impact This only matters when these fields are filled from input other than the user who will use the generated contract. Normal self-service use does not meet that condition: - Web app, AI assistant, and CLI: the user supplies these fields and uses their own output, so a line break only affects their own contract. (These fields are not URL-derived, so shared links cannot set them.) - Self-hosted API: same — the end user supplies the options and consumes the result. The case that matters is an integration that fills these fields from untrusted…

    Recommended action: Upgrade to 3.0.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →