front-matter@1.0.0 vulnerabilities

Extract YAML front matter from a string

Direct Vulnerabilities

Known vulnerabilities in the front-matter package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable 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