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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-95"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/73xxx/CVE-2026-73231.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "10.5.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "54586208f904012f57c50b46cc1ad32bcbe4bfb7"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v10.5.0",
"range": [
{
"fixed": "5fb3b2d67c86aabe898d27d5a709b8aed8bead79"
}
],
"source": "REFERENCES_TAG"
}
]
}