{"id":"CVE-2026-57583","revision":"3f84b0c20f634afd820eb299b26aa4ba","records":[{"revision":"3f84b0c20f634afd820eb299b26aa4ba","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-57583","aliases":[],"title":"OpenZeppelin Contracts Wizard: Line terminators in info.securityContact / info.license can inject lines into generated source","description":"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.","state":0,"publishedAt":"2026-09-14T17:44:45.248+00:00","modifiedAt":"2026-09-14T19:06:58.101+00:00","affected":[{"ecosystem":"Vendor product","name":"contracts-wizard","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"OpenZeppelin\",\n                    \"product\": \"contracts-wizard\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 0.10.11\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"wizard","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"@openzeppelin\",\n                    \"product\": \"wizard\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 0.10.11\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"wizard-cairo","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"@openzeppelin\",\n                    \"product\": \"wizard-cairo\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 3.0.1\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"wizard-stellar","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"@openzeppelin\",\n                    \"product\": \"wizard-stellar\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 0.6.2\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"wizard-stylus","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"@openzeppelin\",\n                    \"product\": \"wizard-stylus\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 0.3.1\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","score":3.3,"severity":"LOW"}],"references":["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/wizard-cairo@3.0.1","https://github.com/OpenZeppelin/contracts-wizard/releases/tag/@openzeppelin/wizard-stellar@0.6.2","https://github.com/OpenZeppelin/contracts-wizard/releases/tag/@openzeppelin/wizard-stylus@0.3.1","https://github.com/OpenZeppelin/contracts-wizard/releases/tag/@openzeppelin/wizard@0.10.11"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-57583","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-57583","identifiers":["CVE-2026-57583"]},"retained":false,"historicalAffected":[]}],"coverage":[]}