Skip to main content
← All vulnerabilities
CVE-2026-73231GHSA-QXC2-J82W-R537

Faker: helpers.fake exploitable into arbritary code execution

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 10.5.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • faker-js faker

    fixed in 10.5.0

  • @faker-js/fakernpm

    fixed in 10.5.0

References 4

GitHub · faker-js/faker