p PatchFirst

CVE-2026-57583

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

Здесь приведены факты из открытых источников об уязвимостях. Перед обновлением ознакомьтесь с исходным сообщением.

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.

CVSS 3.3 · Низкий · EPSS 0,2% · Есть исправление

Опубликовано
Обновлено

Стек: node

Затронутые продукты и версии

  • contracts-wizard

    Версии
    • < 0.10.11: Затронуто

    Нет опубликованного исправления

  • wizard

    Версии
    • < 0.10.11: Затронуто

    Нет опубликованного исправления

  • wizard-cairo

    Версии
    • < 3.0.1: Затронуто

    Нет опубликованного исправления

  • wizard-stellar

    Версии
    • < 0.6.2: Затронуто

    Нет опубликованного исправления

  • wizard-stylus

    Версии
    • < 0.3.1: Затронуто

    Нет опубликованного исправления

  • @openzeppelin/wizard npm

    Затронутые диапазоны версий
    • SEMVER: < 0.10.11

    Обновитесь до 0.10.11

  • @openzeppelin/wizard-cairo npm

    Затронутые диапазоны версий
    • SEMVER: < 3.0.1

    Обновитесь до 3.0.1

  • @openzeppelin/wizard-stellar npm

    Затронутые диапазоны версий
    • SEMVER: < 0.6.2

    Обновитесь до 0.6.2

  • @openzeppelin/wizard-stylus npm

    Затронутые диапазоны версий
    • SEMVER: < 0.3.1

    Обновитесь до 0.3.1

Первоисточники

Проверьте свой сервер →