CVE-2026-73231 json
Faker: helpers.fake exploitable into arbritary code execution
published 4mo ago modified 12h ago also EUVD-2026-56923 , GHSA-qxc2-j82w-r537
- cvss
- 7.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 11%
- public exploits
- 0
- none known
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 fakeEval.resolveProperty when a function returns another function, enabling arbitrary JavaScript code execution. This issue is fixed in version 10.5.0.
Patch / fix
- npm @faker-js/faker 10.5.0
- github.com/faker-js/faker@5458620 commit
- github.com/faker-js/faker#3852 pull request
- github.com/faker-js/faker/releases/tag/v10.5.0 release
Is CVE-2026-73231 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-73231 updated cvss 8.8
@faker-js/faker: Faker: Arbitrary Code Execution via attacker-controlled fake templates
-
Red Hat Cryostat 4 faker 10.4.0 Red Hat AMQ Broker 7 faker 10.4.0 Red Hat Build of Keycloak faker 10.4.0not affected: component not present
-
Red Hat Enterprise Linux 10 grafananot affected: vulnerable code not in execute path
-
Red Hat Hardened Images grafana, grafana12.4 12.4.8-0.1.hum1 Red Hat JBoss Enterprise Application Platform 8 faker 10.4.0 Red Hat JBoss Enterprise Application Platform Expansion Pack faker 10.4.0not affected: component not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 2mo ago
Exploit prediction
0.21% chance of exploitation in the next 30 days, higher than 11% of all scored CVEs (FIRST EPSS, 2026-11-11).
Exploits and checks
- github.com https://github.com/faker-js/faker/security/advisories/GHSA-qxc2-j82w-r537 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | @faker-js/faker | <10.5.0 |
10.5.0 |
Affected products
- faker-js faker
Classification
- Weakness
-
- CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code
References
-
github.com
/faker-js/faker/pull/3852
web
-
github.com
/faker-js/faker/commit/54586208f904012f57c50b46cc1ad32bcbe4bfb7
web
-
github.com
/faker-js/faker/security/advisories/GHSA-qxc2-j82w-r537
exploit, web, advisory
-
github.com
/faker-js/faker/releases/tag/v10.5.0
web
-
nvd.nist.gov
/vuln/detail/CVE-2026-73231
advisory
-
github.com
/faker-js/faker
package
Sources
- CVE List CVE-2026-73231
- GitHub Advisory GHSA-qxc2-j82w-r537
- NVD CVE-2026-73231
- Maintainer advisory GHSA-qxc2-j82w-r537
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of faker-js/faker published their own advisory on GitHub. Reviewed sources take precedence over it.