CVE-2026-73231
HIGH 7.8CVSS 3.1Faker: helpers.fake exploitable into arbritary code execution
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.
- Published
- 11 Aug 2026
- Last modified
- 24 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-95
- Also known as
- GHSA-qxc2-j82w-r537
- Sources
- NVDJSONOSV GHSA-qxc2-j82w-r537JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | @faker-js/faker | < 10.5.0 | 10.5.0 |
References
- https://github.com/faker-js/faker/commit/54586208f904012f57c50b46cc1ad32bcbe4bfb7 · WEB
- https://github.com/faker-js/faker/pull/3852 · WEB
- https://github.com/faker-js/faker/releases/tag/v10.5.0 · WEB
- https://github.com/faker-js/faker/security/advisories/GHSA-qxc2-j82w-r537 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-73231 · ADVISORY
- https://github.com/faker-js/faker · PACKAGE
History
- 25 Nov 2026 21:04 UTC · NVD: first stored (published 11 Aug 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 2 Sep 2026)