CVE-2026-57583
Received Received - Intake

Comment Injection in OpenZeppelin Contracts Wizard

Vulnerability report for CVE-2026-57583, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-14

Last updated on: 2026-09-14

Assigner: GitHub, Inc.

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-14
Last Modified
2026-09-14
Generated
2026-09-14
AI Q&A
2026-09-14
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 4 associated CPEs
Vendor Product Version / Range
openzeppelin wizard 0.10.11
openzeppelin wizard-cairo 3.0.1
openzeppelin wizard-stellar 0.6.2
openzeppelin wizard-stylus 0.3.1

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-94 The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
CWE-116 The product prepares a structured message for communication with another component, but encoding or escaping of the data is either missing or done incorrectly. As a result, the intended structure of the message is not preserved.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability affects the OpenZeppelin Contracts Wizard, where line terminators in the info.securityContact and info.license fields could break out of generated comment lines in Solidity, Cairo, Stellar, and Stylus code. This allows untrusted input to inject arbitrary lines into the generated source, potentially causing formatting issues or misleading information.

Detection Guidance

This vulnerability affects generated source code integrity in OpenZeppelin Contracts Wizard. Detection requires checking if you are using vulnerable versions of @openzeppelin/wizard (<0.10.11), @openzeppelin/wizard-cairo (<3.0.1), @openzeppelin/wizard-stellar (<0.6.2), or @openzeppelin/wizard-stylus (<0.3.1). Run commands like 'npm list @openzeppelin/wizard' or 'pip show openzeppelin-wizard-cairo' to check versions.

Impact Analysis

The impact is limited to generated-source integrity. If you use the OpenZeppelin Contracts Wizard in an integration that populates these fields from untrusted input, malicious actors could manipulate the generated code comments. Normal use via web app, CLI, or self-hosted API does not expose this risk.

Compliance Impact

This vulnerability does not directly affect compliance with GDPR or HIPAA as it only impacts the integrity of generated source code comments by allowing line terminators in metadata fields. No data exposure or processing violations are involved.

Mitigation Strategies

Upgrade to patched versions immediately: @openzeppelin/wizard >=0.10.11, @openzeppelin/wizard-cairo >=3.0.1, @openzeppelin/wizard-stellar >=0.6.2, or @openzeppelin/wizard-stylus >=0.3.1. Review integrations that populate info.securityContact or info.license from untrusted input to ensure no line terminators are present.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-57583. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart