Skip to content

chore(deps): update dependency @faker-js/faker to v10 [security] - #1094

Open
renovate[bot] wants to merge 1 commit into
stagingfrom
renovate/npm-faker-js-faker-vulnerability
Open

renovate[bot] wants to merge 1 commit into
stagingfrom
renovate/npm-faker-js-faker-vulnerability

Conversation

@renovate

@renovate renovate Bot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
@faker-js/faker (source) ^7.6.0^10.0.0 age confidence

Faker: helpers.fake exploitable into arbritary code execution

CVE-2026-73231 / GHSA-qxc2-j82w-r537

More information

Details

Summary

faker.helpers.fake can be tricked into arbritary code execution.

Details

fakeEval.resolveProperty resolves properties on functions itself instead of resolving the nested function first.
This can be addressed by recursively calling resolveProperty instead of accessing the property after one iteration.

PoC

Go to https://fakerjs.dev/
Open Browser console and run

await enableFaker(); // or import faker
faker.rawDefinitions.test = (() => () => {}); // Any function that returns a function
faker.helpers.fake(`{{test.constructor(alert('PowerLevel: Eval'))}}`);
Impact

The Fake method claims:

It is also NOT possible to use any non-faker methods or plain javascript in such patterns.

Which is objectively false, since any global gets fully accessible in the fake string.

Severity

  • CVSS Score: 7.8 / 10 (High)
  • Vector String: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


Release Notes

faker-js/faker (@​faker-js/faker)

v10.5.0

Compare Source

New Locales
Features
Bug Fixes

v10.4.0

Compare Source

New Locales
Features
Changed Locales
  • locale: filter and cleanup PersonEntryDefintions data (#​3266) (67defc8)
Bug Fixes
  • locales: correct typos and capitalization in es_MX street names (#​3737) (2b32c28)

v10.3.0

Compare Source

New Locales
Features
Changed Locales
Bug Fixes

v10.2.0

Compare Source

New Locales
Features
Bug Fixes

v10.1.0

Compare Source

New Locales
Bug Fixes

v10.0.0

Compare Source

New Locales
Features
  • locales: add animal vocabulary(bear, bird, cat, rabbit, pet_name) in Korean (#​3535) (0d2143c)
Changed Locales

v9.9.0

Compare Source

New Locales
Features

v9.8.0

Compare Source

New Locales
Changed Locales
Bug Fixes

v9.7.0

Compare Source

New Locales
Bug Fixes

v9.6.0

Compare Source

Features

v9.5.1

Compare Source

Bug Fixes

v9.5.0

Compare Source

Features

v9.4.0

Compare Source

Features
Changed Locales
Bug Fixes

v9.3.0

Compare Source

Features
Changed Locales
Bug Fixes
  • internet: ensure domainWord always returns a valid value in all locales (#​3253) (525fedc)
  • locale: add Isadora to female names in pt_BR for consistency (#​3282) (b390432)
  • locale: fix incorrect accents in it first_name (#​3281) (e0fb23e)

v9.2.0

Compare Source

Features
Changed Locales

v9.1.0

Compare Source

New Locales
Features
Changed Locales
Bug Fixes

v9.0.3

Compare Source

Changed Locales
Bug Fixes

v9.0.2

Compare Source

Bug Fixes

v9.0.1

Compare Source

Bug Fixes

v9.0.0

Compare Source

No noteworthy changes to 9.0.0-rc.1

For those upgrading from earlier versions, please refer to our Migration Guide for detailed instructions.

v8.4.1

Compare Source

  • JSDocs improvements

v8.4.0

Compare Source

Features
Bug Fixes
8.3.1 (2023-11-14)
Bug Fixes
  • remove [@internal](https://redirect.github.com/internal) from module parent classes (#​2548) (77f54ad)

v8.3.1

Compare Source

v8.3.0

Compare Source

Features
Bug Fixes
Changed Locales
New Locales

v8.2.0

Compare Source

Features
Bug Fixes
New Locales

v8.1.0

Compare Source

Features

Important

✂ PR body was truncated to here.


Configuration

📅 Schedule: (in timezone Europe/Amsterdam)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the dependencies Pull requests that update a dependency file label Sep 3, 2026
@renovate

renovate Bot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor Author

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: yarn.lock
/opt/containerbase/tools/corepack/0.36.0/18.14.2/node_modules/corepack/dist/lib/corepack.cjs:13672
  const isURL = URL.canParse(range);
                    ^

TypeError: URL.canParse is not a function
    at parseSpec (/opt/containerbase/tools/corepack/0.36.0/18.14.2/node_modules/corepack/dist/lib/corepack.cjs:13672:21)
    at Object.getSpec (/opt/containerbase/tools/corepack/0.36.0/18.14.2/node_modules/corepack/dist/lib/corepack.cjs:13841:55)
    at Engine.findProjectSpec (/opt/containerbase/tools/corepack/0.36.0/18.14.2/node_modules/corepack/dist/lib/corepack.cjs:14066:31)
    at async Engine.executePackageManagerRequest (/opt/containerbase/tools/corepack/0.36.0/18.14.2/node_modules/corepack/dist/lib/corepack.cjs:14105:24)
    at async Object.runMain (/opt/containerbase/tools/corepack/0.36.0/18.14.2/node_modules/corepack/dist/lib/corepack.cjs:14838:7)

Node.js v18.14.2

@renovate
renovate Bot force-pushed the renovate/npm-faker-js-faker-vulnerability branch from e22cb12 to 5a7d7dd Compare September 10, 2026 15:39
@coderabbitai

coderabbitai Bot commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: 38f445a8-090f-46e2-bf0e-487460c83085

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@renovate
renovate Bot force-pushed the renovate/npm-faker-js-faker-vulnerability branch from 5a7d7dd to 8aa747d Compare September 15, 2026 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants