{"id":"CVE-2026-73231","state":"PUBLISHED","title":"Faker: helpers.fake exploitable into arbritary code execution","description":"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.","publishedAt":"2026-08-11T19:28:44.943Z","updatedAt":"2026-08-13T14:41:25.803Z","severity":{"score":7.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["faker-js faker"],"affected":[{"vendor":"faker-js","product":"faker","versions":[{"version":"< 10.5.0","status":"affected"}]}],"references":["https://github.com/faker-js/faker/security/advisories/GHSA-qxc2-j82w-r537","https://github.com/faker-js/faker/pull/3852","https://github.com/faker-js/faker/commit/54586208f904012f57c50b46cc1ad32bcbe4bfb7","https://github.com/faker-js/faker/releases/tag/v10.5.0"],"weaknesses":["CWE-95"],"ingestedAt":"2026-10-29T20:12:58.252Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/73xxx/CVE-2026-73231.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-73231","state":"PUBLISHED","datePublished":"2026-08-11T19:28:44.943Z","dateUpdated":"2026-08-13T14:41:25.803Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-08-11T14:41:20.123Z"},"containers":{"cna":{"title":"Faker: helpers.fake exploitable into arbritary code execution","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"faker-js","product":"faker","versions":[{"version":"< 10.5.0","status":"affected"}]}],"references":[{"url":"https://github.com/faker-js/faker/security/advisories/GHSA-qxc2-j82w-r537","name":"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","name":"https://github.com/faker-js/faker/pull/3852","tags":["x_refsource_MISC"]},{"url":"https://github.com/faker-js/faker/commit/54586208f904012f57c50b46cc1ad32bcbe4bfb7","name":"https://github.com/faker-js/faker/commit/54586208f904012f57c50b46cc1ad32bcbe4bfb7","tags":["x_refsource_MISC"]},{"url":"https://github.com/faker-js/faker/releases/tag/v10.5.0","name":"https://github.com/faker-js/faker/releases/tag/v10.5.0","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-95","lang":"en","description":"CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-08-11T19:28:44.943Z"},"source":{"advisory":"GHSA-qxc2-j82w-r537","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/faker-js/faker/security/advisories/GHSA-qxc2-j82w-r537","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-13T14:41:05.021103Z","id":"CVE-2026-73231","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-13T14:41:25.803Z"}}]}}}