CVE-2026-73231
Beschrijving NL
Faker genereert enorme hoeveelheden nepgegevens in de browser en Node.js. Voorafgaand aan 10.5.0 biedt de faker.helpers.fake-methode in src/modules/helpers/eval.ts aanvallergestuurde nepsjablonen toegang tot de functieconstructor via fakeEval.resolveProperty wanneer een functie een andere functie retourneert, waardoor willekeurige JavaScript-code kan worden uitgevoerd. Dit probleem is opgelost in versie 10.5.0.
Origineel (Engels) tonen
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.