CVE-2026-57583CWE-116CWE-94code-injection

CVE-2026-57583

Low · published September 14, 2026

CVSS v3.1
3.3
EPSS
0%
Percentile
7.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
3.3 · LOW
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.00187 · 7.9th percentile
Weaknesses
CWE-116 · Improper Encoding or Escaping of Output; CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2026-09-14T22:17Z
References (7)
EPSS history
Timeline
  • 16 SEP 04:29Z
    EPSS moved — → 0%
    epss
  • 14 SEP 17:44Z
    OpenZeppelin Contracts Wizard: Line terminators in info.securityContact / info.license can inject lines into generated source
    cvelistv5