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.
References
Configurations
No configuration.
History
No history.
Information
Published : 2026-08-11 20:18
Updated : 2026-09-09 20:55
NVD link : CVE-2026-73231
Mitre link : CVE-2026-73231
CVE.ORG link : CVE-2026-73231
JSON object : View
Products Affected
No product.
CWE
CWE-95
Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
