Katalog CVE

CVE-2026-57583

NiskieCVSS 3.3
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.19%

Percentyl 8 - wyżej niż 8% wszystkich znanych CVE

Streszczenie

OpenZeppelin Contracts Wizard przed wersjami @openzeppelin/wizard 0.10.11, wizard-cairo 3.0.1, wizard-stellar 0.6.2 i wizard-stylus 0.3.1 w ścieżce setInfo wstawia info.securityContact i info.license dosłownie do komentarzy jednoliniowych w generowanym kodzie. Terminator linii kończy komentarz, przez co dalsze dane wejściowe są emitowane jako deklaracje źródłowe.

Ocena ryzyka

Jeśli integracja wypełnia te pola niezaufanymi danymi, wygenerowany kod może zawierać wstrzyknięte deklaracje, co narusza integralność generowanego źródła. Normalne użycie web, CLI i API nie przekracza tej granicy zaufania.

Rekomendacja

Zaktualizuj pakiety do wersji 0.10.11, 3.0.1, 0.6.2 lub 0.3.1. Upewnij się, że pola securityContact i license nie są wypełniane niezaufanymi danymi w integracjach.

Inne podatności w OpenZeppelin Contracts Wizard

Oryginalny opis (angielski, źródło NVD)

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.

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS