{"id":"CVE-2026-73231","summary":"Faker: helpers.fake exploitable into arbritary code execution","details":"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.","aliases":["GHSA-qxc2-j82w-r537"],"modified":"2026-09-11T03:30:49.383158948Z","published":"2026-08-11T19:28:44.943Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/73xxx/CVE-2026-73231.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-95"]},"references":[{"type":"WEB","url":"https://github.com/faker-js/faker/releases/tag/v10.5.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/73xxx/CVE-2026-73231.json"},{"type":"ADVISORY","url":"https://github.com/faker-js/faker/security/advisories/GHSA-qxc2-j82w-r537"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-73231"},{"type":"FIX","url":"https://github.com/faker-js/faker/commit/54586208f904012f57c50b46cc1ad32bcbe4bfb7"},{"type":"FIX","url":"https://github.com/faker-js/faker/pull/3852"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/faker-js/faker","events":[{"introduced":"0"},{"fixed":"54586208f904012f57c50b46cc1ad32bcbe4bfb7"},{"fixed":"5fb3b2d67c86aabe898d27d5a709b8aed8bead79"}],"database_specific":{"source":["AFFECTED_FIELD","REFERENCES"],"extracted_events":[{"introduced":"0"},{"fixed":"10.5.0"}]}}],"versions":["v10.4.0","v10.3.0","v10.2.0","v10.1.0","v10.0.0","v10.0.0-beta.0","v9.9.0","v9.8.0","v9.7.0","v9.6.0","v9.5.1","v9.5.0","v9.4.0","v9.3.0","v9.2.0","v9.1.0","v9.0.3","v9.0.2","v9.0.1","v9.0.0","v6.3.1","v8.4.1","v9.0.0-rc.1","v9.0.0-rc.0","v9.0.0-alpha.1","v9.0.0-alpha.0","v8.4.0","v8.3.1","v8.3.0","v8.2.0","v8.1.0","v8.0.2","v8.0.1","v8.0.0","v8.0.0-beta.1","v8.0.0-beta.0","v8.0.0-alpha.2","v8.0.0-alpha.1","v8.0.0-alpha.0","v7.6.0","v7.5.0","v7.4.0","v7.3.0","v7.2.0","v7.1.0","v7.0.1","v7.0.0","v6.3.0","v6.2.0","v6.1.2","v6.1.1","v6.1.0","v6.0.0","v6.0.0-beta.0","v6.0.0-alpha.7","v6.0.0-alpha.6","v6.0.0-alpha.5","v6.0.0-alpha.4","v6.0.0-alpha.3","v6.0.0-alpha.2","v6.0.0-alpha.1","v6.0.0-alpha.0","v5.5.3","v5.5.2","v5.5.1","v5.5.0","v5.4.0","v5.3.1","v5.3.0","v5.2.0","v5.1.0","v5.0.0","v4.1.0","v4.0.0","v2.1.2","v3.1.0","v3.0.1","v3.0.0","v2.1.5","v2.1.4","v2.1.3","v2.1.1","v2.1.0","v2.0.3","v2.0.2","v2.0.0","v1.1.0","v1.0.1","v1.0.0","v0.7.2","v0.5.12","v0.5.11","v0.5.9","v0.5.7","v0.5.5"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-73231.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}