Vulnerabilities

1 via 1 paths

Dependencies

26

Source

GitHub

Find, fix and prevent vulnerabilities in your code.

Severity
  • 1
Status
  • 1
  • 0
  • 0

critical severity
new

Arbitrary Code Injection

  • Vulnerable module: gray-matter
  • Introduced through: gray-matter@4.0.3

Detailed paths

  • Introduced through: qwind@onwidget/qwind › gray-matter@4.0.3

Overview

gray-matter is a Parse front-matter from a string or file. Fast, reliable and easy to use. Parses YAML front matter by default, but also has support for YAML, JSON, TOML or Coffee Front-Matter, with options to set custom delimiters. Used by metalsmith, assemble, verb and

Affected versions of this package are vulnerable to Arbitrary Code Injection via the eval process in lib/engines.js when parsing front matter with the language set to js or javascript. An attacker can execute arbitrary code by supplying crafted input that is evaluated by the JavaScript engine.

Remediation

There is no fixed version for gray-matter.

References