Skip to content
OpenAdvisories
High · 7.8 CVE-2026-73231 EUVD-2026-56923GHSA-qxc2-j82w-r537

Faker: helpers.fake exploitable into arbritary code execution

Published Aug 11, 2026 · Updated Aug 13, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
faker-js faker < 10.5.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling prism No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
npm @faker-js/faker < 10.5.0 10.5.0 GHSA-qxc2-j82w-r537

References