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.
영향 받는 제품 제품 5개
-
해결 버전 있음
OpenZeppelin
contracts-wizard
영향 받는 버전
- 0.10.11 미만
해결 버전
- 0.10.11 이상
-
해결 버전 있음
@openzeppelin
wizard
영향 받는 버전
- 0.10.11 미만
해결 버전
- 0.10.11 이상
-
해결 버전 있음
@openzeppelin
wizard-cairo
영향 받는 버전
- 3.0.1 미만
해결 버전
- 3.0.1 이상
-
해결 버전 있음
@openzeppelin
wizard-stellar
영향 받는 버전
- 0.6.2 미만
해결 버전
- 0.6.2 이상
-
해결 버전 있음
@openzeppelin
wizard-stylus
영향 받는 버전
- 0.3.1 미만
해결 버전
- 0.3.1 이상
참고 자료 7건
- github.com https://github.com/OpenZeppelin/contracts-wizard/commit/6b18ecbd727a22d9f8c592e5d56caa2e977fb225 (새 창)
- github.com https://github.com/OpenZeppelin/contracts-wizard/pull/818 (새 창)
- github.com https://github.com/OpenZeppelin/contracts-wizard/releases/tag/@openzeppelin/wizard@0.10.11 (새 창)
- github.com https://github.com/OpenZeppelin/contracts-wizard/releases/tag/@openzeppelin/wizard-cairo@3.0.1 (새 창)
- github.com https://github.com/OpenZeppelin/contracts-wizard/releases/tag/@openzeppelin/wizard-stellar@0.6.2 (새 창)
- github.com https://github.com/OpenZeppelin/contracts-wizard/releases/tag/@openzeppelin/wizard-stylus@0.3.1 (새 창)
- github.com https://github.com/OpenZeppelin/contracts-wizard/security/advisories/GHSA-9wxg-vf3r-56hc (새 창)