{"id":"CVE-2026-73231","title":"Faker generates massive amounts of fake data in the browser and Node.js","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 f…","severity":"high","cvss":7.8,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","cwe":["CWE-95"],"vendor":"faker-js","product":"@faker-js/faker","affected":["@faker-js/faker <= 10.4.0"],"patched":["@faker-js/faker 10.5.0"],"published":"2026-08-11","updated":"2026-09-09","sourceUpdated":"2026-09-09T20:55:04.493","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-73231","references":[{"url":"https://github.com/faker-js/faker/commit/54586208f904012f57c50b46cc1ad32bcbe4bfb7","label":"security-advisories@github.com"},{"url":"https://github.com/faker-js/faker/pull/3852","label":"security-advisories@github.com"},{"url":"https://github.com/faker-js/faker/releases/tag/v10.5.0","label":"security-advisories@github.com"},{"url":"https://github.com/faker-js/faker/security/advisories/GHSA-qxc2-j82w-r537","label":"security-advisories@github.com"},{"url":"https://github.com/faker-js/faker/security/advisories/GHSA-qxc2-j82w-r537","label":"134c704f-9b21-4f2e-91b3-4a467353bcc0"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-73231"},{"url":"https://github.com/advisories/GHSA-qxc2-j82w-r537"}],"tags":["nvd","ghsa","npm"],"epss":0.00217,"epssPercentile":0.124,"aliases":["GHSA-qxc2-j82w-r537"],"ecosystem":"npm","ingestedAt":"2026-09-02T14:45:30.555Z","slug":"CVE-2026-73231","body":"## Overview\n\nFaker 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.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Package advisory (CVE-2026-73231)\n\nAffected packages:\n\n- `@faker-js/faker <= 10.4.0`\n\nPatched in:\n\n- `@faker-js/faker 10.5.0`\n\nSource: https://github.com/advisories/GHSA-qxc2-j82w-r537","depth":"twilight","depthScore":43,"depthScoreParts":{"impact":42.9,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}