front-matter@3.0.1 vulnerabilities

Extract YAML front matter from a string

  • latest version

    4.0.2

  • latest non vulnerable version

  • first published

    13 years ago

  • latest version published

    5 years ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the front-matter 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
    • C
    Arbitrary Code Execution

    front-matter is a package that extracts meta data (front-matter) from documents.

    Affected versions of this package are vulnerable to Arbitrary Code Execution due to the default usage of the function yaml.load() of the package js-yaml instead of its secure replacement , yaml.safeLoad().

    How to fix Arbitrary Code Execution?

    Upgrade front-matter to version 4.0.1 or higher.

    <4.0.1