gatsby-plugin-mdx@5.5.0-next.1 vulnerabilities

MDX integration for Gatsby

Direct Vulnerabilities

Known vulnerabilities in the gatsby-plugin-mdx 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
  • M
Information Exposure

gatsby-plugin-mdx is a MDX integration for Gatsby

Affected versions of this package are vulnerable to Information Exposure via local file inclusion in __file-code-frame or __original-stack-frame, when gatsby develop is in use and exposed to the internet.

NOTE: By default gatsby develop is only accessible via the localhost 127.0.0.1, and one would need to intentionally expose the server to other interfaces to exploit this vulnerability by using server options such as --host 0.0.0.0, -H 0.0.0.0, or the GATSBY_HOST=0.0.0.0 environment variable.

How to fix Information Exposure?

Upgrade gatsby-plugin-mdx to version 5.10.0 or higher.

<5.10.0