@faker-js/faker@7.0.0

Generate massive amounts of fake contextual data

  • latest version

    10.6.0

  • latest non vulnerable version

  • first published

    4 years ago

  • latest version published

    28 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the @faker-js/faker package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    Eval Injection

    @faker-js/faker is a Generate massive amounts of fake contextual data

    Affected versions of this package are vulnerable to Eval Injection via the helpers.fake function. An attacker can execute arbitrary JavaScript code by supplying specially crafted templates that access the Function constructor through fakeEval.resolveProperty when a function returns another function.

    How to fix Eval Injection?

    Upgrade @faker-js/faker to version 10.5.0 or higher.

    <10.5.0