CVE-2026-57583
CVE-2026-57583 · OpenZeppelin Contracts Wizard: Line terminators in info.securityContact / info.license can inject lines into generated source
Diese Seite enthält Fakten aus öffentlichen Sicherheitsquellen. Lesen Sie vor dem Aktualisieren die Originalmeldung.
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 · Niedrig · EPSS 0,2% · Korrektur verfügbar
- Veröffentlicht
- Aktualisiert
Technologie-Stack: node
Betroffene Produkte und Versionen
contracts-wizard
- Softwareversionen
- < 0.10.11: Betroffen
Keine Korrektur veröffentlicht
wizard
- Softwareversionen
- < 0.10.11: Betroffen
Keine Korrektur veröffentlicht
wizard-cairo
- Softwareversionen
- < 3.0.1: Betroffen
Keine Korrektur veröffentlicht
wizard-stellar
- Softwareversionen
- < 0.6.2: Betroffen
Keine Korrektur veröffentlicht
wizard-stylus
- Softwareversionen
- < 0.3.1: Betroffen
Keine Korrektur veröffentlicht
@openzeppelin/wizard npm
- Betroffene Versionsbereiche
- SEMVER: < 0.10.11
Auf 0.10.11 aktualisieren
@openzeppelin/wizard-cairo npm
- Betroffene Versionsbereiche
- SEMVER: < 3.0.1
Auf 3.0.1 aktualisieren
@openzeppelin/wizard-stellar npm
- Betroffene Versionsbereiche
- SEMVER: < 0.6.2
Auf 0.6.2 aktualisieren
@openzeppelin/wizard-stylus npm
- Betroffene Versionsbereiche
- SEMVER: < 0.3.1
Auf 0.3.1 aktualisieren
Originalquellen
- https://github.com/OpenZeppelin/contracts-wizard/security/advisories/GHSA-9wxg-vf3r-56hc
- https://github.com/OpenZeppelin/contracts-wizard/pull/818
- https://github.com/OpenZeppelin/contracts-wizard/commit/6b18ecbd727a22d9f8c592e5d56caa2e977fb225
- https://github.com/OpenZeppelin/contracts-wizard/releases/tag/@openzeppelin/[email protected]
- https://github.com/OpenZeppelin/contracts-wizard/releases/tag/@openzeppelin/[email protected]
- https://github.com/OpenZeppelin/contracts-wizard/releases/tag/@openzeppelin/[email protected]
- https://github.com/OpenZeppelin/contracts-wizard/releases/tag/@openzeppelin/[email protected]
- https://nvd.nist.gov/vuln/detail/CVE-2026-57583