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.

Project Subscriptions

No data.

Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Tue, 11 Aug 2026 20:00:00 +0000

Type Values Removed Values Added
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.
Title Faker: helpers.fake exploitable into arbritary code execution
Weaknesses CWE-95
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-11T19:28:44.943Z

Reserved: 2026-08-11T14:41:20.123Z

Link: CVE-2026-73231

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-11T20:18:48.400

Modified: 2026-08-11T20:18:48.400

Link: CVE-2026-73231

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses