# CVE-2026-73231: Faker: helpers.fake exploitable into arbritary code execution

- Severity: High 7.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 12% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-11T19:28:44.943Z
- Modified: 2026-10-24T15:10:00.190Z
- Also known as: GHSA-qxc2-j82w-r537
- Weaknesses: CWE-95
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- faker-js faker: < 10.5.0
- @faker-js/faker (npm): before 10.5.0

## Every score

- GitHub_M: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/faker-js/faker/security/advisories/GHSA-qxc2-j82w-r537> (exploit, web)
- <https://github.com/faker-js/faker/pull/3852> (web)
- <https://github.com/faker-js/faker/commit/54586208f904012f57c50b46cc1ad32bcbe4bfb7> (web)
- <https://github.com/faker-js/faker/releases/tag/v10.5.0> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-73231> (advisory)
- <https://github.com/faker-js/faker> (package)

## Sources

- CVE List: [CVE-2026-73231](https://www.cve.org/CVERecord?id=CVE-2026-73231), CVE Terms of Use, modified 2026-08-13
- GitHub Advisory Database: [GHSA-qxc2-j82w-r537](https://github.com/advisories/GHSA-qxc2-j82w-r537), CC-BY-4.0, modified 2026-09-02
- NVD: [CVE-2026-73231](https://nvd.nist.gov/vuln/detail/CVE-2026-73231), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-73231 · Whole record: https://cve.day/CVE-2026-73231.json · Rebuilt by cve.day 2026-11-25T22:59:32.512Z
