{"id":"CVE-2026-73231","published":"2026-08-11T19:28:44Z","modified":"2026-08-13T14:41:25Z","title":"Faker: helpers.fake exploitable into arbritary code execution","vendor":"faker-js","product":"faker","tier":"tail","description":{"text":"Faker generates massive amounts of fake data in the browser and Node.js. Prior to 10.5.0, the faker.helpers.fake method in src/modules/helpers/eval.ts allows attacker-controlled fake templates to access the Function constructor through fakeEval.resolveProperty when a function returns another function, enabling arbitrary JavaScript code execution. This issue is fixed in version 10.5.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0021,"percentile":0.11436,"provenance":"source"},"cwes":[{"id":"CWE-95","name":"Improper Neutralization of Directives in Dynamically Evaluated Code"}],"references":[{"url":"https://github.com/faker-js/faker/security/advisories/GHSA-qxc2-j82w-r537","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/faker-js/faker/pull/3852","tags":["x_refsource_MISC"]},{"url":"https://github.com/faker-js/faker/commit/54586208f904012f57c50b46cc1ad32bcbe4bfb7","tags":["x_refsource_MISC"]},{"url":"https://github.com/faker-js/faker/releases/tag/v10.5.0","tags":["x_refsource_MISC"]}],"priority":{"score":7.7,"factors":[{"name":"EPSS percentile","points":2.29},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"faker-js","affectedVersions":[{"vendor":"faker-js","product":"faker","versions":["< 10.5.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-08-13T14:41:05.021103Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@faker-js/faker","vulnerableRanges":["<10.5.0"],"patched":["10.5.0"],"from":["GHSA-qxc2-j82w-r537"],"provenance":"source"}],"summary":{"text":"The flaw is in the faker.helpers.fake method, implemented in src/modules/helpers/eval.ts within the faker package (faker-js/faker), where attacker-controlled fake templates can reach the Function constructor through fakeEval.resolveProperty when a function returns another function, allowing arbitrary JavaScript code execution. An attacker who can supply template input to faker.helpers.fake and has local access with low privileges can run arbitrary code in the context of the application using the library.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:11:37Z"},"euvd":{"id":"EUVD-2026-56923","exploited":false,"provenance":"source"}}