Vulnerabilities/

gatsby-transformer-remark has possible unsanitized JavaScript code injection

Severity:
High

Description

The gatsby-transformer-remark plugin prior to versions 5.25.1 and 6.3.2 passes input through to the gray-matter npm package, which is vulnerable to JavaScript injection in its default configuration, unless input is sanitized.

Recommendation

Update the gatsby-transformer-remark package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
gatsby-transformer-remark
Anything's wrong? Let us know Last updated on January 23, 2023

This issue is available in SmartScanner Professional

See Pricing