{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-48054","published":"2026-08-06T22:17:09.530000Z","last_modified":"2026-09-14T18:17:48.623000Z","status":"Deferred","cvss":{"version":"3.1","score":8.8,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-94"],"cpes":[],"cpes_truncated":false,"vendors":["openzeppelin"],"products":["openzeppelin/contracts-wizard"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-4x76-22x2-rx8v","ecosystem":"npm","name":"@openzeppelin/wizard","purl":"pkg:npm/%40openzeppelin/wizard","ranges":[{"introduced":"0","fixed":"0.10.9"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":68,"links":{"html_es":"/es/cve/CVE-2026-48054/","html_en":"/en/cve/CVE-2026-48054/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-48054","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-48054"},"untrusted":{"vendor_name":"OpenZeppelin","product_name":"contracts-wizard","desc_en":"OpenZeppelin Contracts Wizard is 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.","affected":[{"untrusted_vendor":"OpenZeppelin","untrusted_product":"contracts-wizard","versions":[]}],"references":[{"url":"https://github.com/OpenZeppelin/contracts-wizard/commit/ec12c44f8d9e0491eba31037f95b36e98ec58b5f","tags":[]},{"url":"https://github.com/OpenZeppelin/contracts-wizard/releases/tag/%40openzeppelin%2Fwizard%400.10.9","tags":[]},{"url":"https://github.com/OpenZeppelin/contracts-wizard/security/advisories/GHSA-4x76-22x2-rx8v","tags":[]}]}}