CVE Catalog

CVE-2026-73231

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.15%

5th percentile - higher than 5% of all known CVEs

Summary

Faker, a tool that generates massive amounts of fake data in the browser and Node.js, prior to version 10.5.0 has a vulnerability in the faker.helpers.fake method that allows attacker-controlled fake templates to access the Function constructor through fakeEval.resolveProperty when a function returns another function, enabling arbitrary JavaScript code execution.

Risk Assessment

An attacker can exploit this vulnerability to execute arbitrary JavaScript code in the context of the application using Faker, potentially leading to application compromise or data theft.

Recommendation

Update Faker to version 10.5.0 or later, which fixes this vulnerability. Additionally, do not use untrusted templates.

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS