CVE-2026-73231
CVE-2026-73231 · Faker: helpers.fake exploitable into arbritary code execution
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 7.8 · High · EPSS 0.2% · Fix available
- Published
- Updated
Stack: node
Affected products and versions
faker
- Versions
- < 10.5.0: Affected
No fix published
@faker-js/faker npm
- Affected ranges
- SEMVER: < 10.5.0
Update to 10.5.0