{"id":"EUVD-2026-54176","enisaUuid":"043a9db6-883e-39f9-9f00-50a89c48f1ba","description":"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\u003d\");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\u0027s local OS privileges. Version 0.10.9 fixes the issue.","datePublished":"Aug 6, 2026, 9:37:54 PM","dateUpdated":"Sep 14, 2026, 5:42:37 PM","baseScore":8.8,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","references":"https://github.com/OpenZeppelin/contracts-wizard/security/advisories/GHSA-4x76-22x2-rx8v\nhttps://github.com/OpenZeppelin/contracts-wizard/commit/ec12c44f8d9e0491eba31037f95b36e98ec58b5f\nhttps://github.com/OpenZeppelin/contracts-wizard/releases/tag/%40openzeppelin%2Fwizard%400.10.9\n","aliases":"CVE-2026-48054\nGHSA-4x76-22x2-rx8v\n","assigner":"GitHub_M","epss":0.64,"enisaIdProduct":[{"id":"9bd43e89-e90a-3578-8b79-cc5a822f37f9","product":{"name":"contracts-wizard","vendor":{"name":"OpenZeppelin"}},"product_version":"\u003c 0.10.9"}],"enisaIdVendor":[{"id":"9064a976-da0d-34fe-850b-990074455c77","vendor":{"name":"OpenZeppelin"}}],"enisaIdVulnerability":[{"id":"3b10e104-42a3-30a8-9042-264a9b7683b8","vulnerability":{"id":"GHSA-4x76-22x2-rx8v","description":"OpenZeppelin Contracts Wizard has Code Injection in Generated Hardhat and Foundry Tests via Unsanitized opts.name / opts.uri","datePublished":"Jun 11, 2026, 1:27:24 PM","dateUpdated":"Jun 11, 2026, 1:27:24 PM","baseScore":0.0,"references":"https://github.com/OpenZeppelin/contracts-wizard/security/advisories/GHSA-4x76-22x2-rx8v\nhttps://github.com/OpenZeppelin/contracts-wizard/commit/ec12c44f8d9e0491eba31037f95b36e98ec58b5f\nhttps://github.com/OpenZeppelin/contracts-wizard\nhttps://github.com/OpenZeppelin/contracts-wizard/releases/tag/%40openzeppelin%2Fwizard%400.10.9\n","enisa_id":"EUVD-2026-54176\n","aliases":"CVE-2026-48054\nGHSA-4x76-22x2-rx8v\n","epss":0.0,"dataProcessed":"Nov 9, 2026, 3:49:06 PM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}},{"id":"f4a982d2-90a2-3009-8ca1-3783968a9c4c","vulnerability":{"id":"CVE-2026-48054","description":"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\u003d\");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\u0027s local OS privileges. Version 0.10.9 fixes the issue.","datePublished":"Aug 6, 2026, 9:37:54 PM","dateUpdated":"Sep 14, 2026, 5:42:37 PM","status":"PUBLISHED","baseScore":8.8,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","references":"https://github.com/OpenZeppelin/contracts-wizard/security/advisories/GHSA-4x76-22x2-rx8v\nhttps://github.com/OpenZeppelin/contracts-wizard/commit/ec12c44f8d9e0491eba31037f95b36e98ec58b5f\nhttps://github.com/OpenZeppelin/contracts-wizard/releases/tag/%40openzeppelin%2Fwizard%400.10.9\n","enisa_id":"EUVD-2026-54176\n","assigner":"GitHub_M","epss":0.64,"dataProcessed":"Nov 13, 2026, 7:23:33 AM","vulnerabilityProduct":[{"id":"8f267c6f-796c-3e25-893d-c5153021ecd0","product":{"name":"contracts-wizard","vendor":{"name":"OpenZeppelin"}},"product_version":"\u003c 0.10.9"}],"vulnerabilityVendor":[{"id":"ae6c4dd3-8ae5-3360-98f3-c8ee59ba3568","vendor":{"name":"OpenZeppelin"}}]}}],"enisaIdAdvisory":[]}