CVE-2026-48054
Last modified
CVE-2026-48054 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. OpenZeppelin Contracts Wizardis a web application to interactively build a contract out of components from OpenZeppelin Contracts. Versions prior to 0.10.9 generate a Hardhat test file (`test/test.ts`) by interpolating user-supplied `opts.name` (ERC20/ERC721) and `opts.uri` (ERC1155) directly into TypeScript string literals at `zip-hardhat.ts:48` and `:50` without any JavaScript string escaping. EPSS estimates a 0.46% chance of exploitation in the next 30 days.
Description
OpenZeppelin Contracts Wizardis a web application to interactively build a contract out of components from OpenZeppelin Contracts. Versions prior to 0.10.9 generate a Hardhat test file (`test/test.ts`) by interpolating user-supplied `opts.name` (ERC20/ERC721) and `opts.uri` (ERC1155) directly into TypeScript string literals at `zip-hardhat.ts:48` and `:50` without any JavaScript string escaping. No authentication is required: an attacker crafts a URL such as `https[:]//wizard[.]openzeppelin[.]com/#/erc20?name=");require("child_process").execSync("...");("` and shares it with a developer. When the victim downloads the resulting zip archive and runs `npx hardhat test`, the injected Node.js code executes with the developer's local OS privileges. Version 0.10.9 fixes the issue.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| OpenZeppelin | contracts-wizard | < 0.10.9 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-48054?
How severe is CVE-2026-48054?
How do I fix CVE-2026-48054?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-48047XWiki Platform WebJars API is a package for XWiki, a generic…5.9
- CVE-2026-48048XWiki Platform is a generic wiki platform. XWiki discovered …7.5
- CVE-2026-48049@hapi/inert provides static file and directory handlers for …5.3
- CVE-2026-4805The Woostify plugin for WordPress is vulnerable to Stored Cr…6.4
- CVE-2026-48051Papra is a minimalistic document management and archiving pl…3.5
- CVE-2026-48052Papra is a minimalistic document management and archiving pl…5.4
- CVE-2026-48055Streambert is a cross-platform Electron Desktop App to strea…10
- CVE-2026-48056Streambert is a cross-platform Electron Desktop App to strea…10
- CVE-2026-48058nebula-mesh is a self-hosted control plane for Slack Nebula …4.6
- CVE-2026-48059Netty is a network application framework for development of …7.5
- CVE-2026-48060Litestar is an Asynchronous Server Gateway Interface (ASGI) …8.1
- CVE-2026-48061Litestar is an Asynchronous Server Gateway Interface (ASGI) …5.9
Are you affected by CVE-2026-48054?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
