CVE-2026-73231

high

Description

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.

References

https://github.com/faker-js/faker/security/advisories/GHSA-qxc2-j82w-r537

https://github.com/faker-js/faker/releases/tag/v10.5.0

https://github.com/faker-js/faker/pull/3852

https://github.com/faker-js/faker/commit/54586208f904012f57c50b46cc1ad32bcbe4bfb7

Details

Source: Mitre, NVD

Published: 2026-08-11

Updated: 2026-08-11

Risk Information

CVSS v2

Base Score: 6.8

Vector: CVSS2#AV:L/AC:L/Au:S/C:C/I:C/A:C

Severity: Medium

CVSS v3

Base Score: 7.8

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Severity: High