Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2022-25863

8.1 · HIGH
Published Jun 10, 2022 gatsbyjs CWE-502 EPSS 1.96% (79th pctl)

Overview

CVE-2022-25863 is a high-severity vulnerability affecting gatsbyjs gatsby. It was published on June 10, 2022 and has a CVSS 3.1 base score of 8.1 (HIGH).

This vulnerability has a CVSS 3.1 base score of 8.1, rated HIGH. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

Technical Description

The package gatsby-plugin-mdx before 2.14.1, from 3.0.0 and before 3.15.2 are vulnerable to Deserialization of Untrusted Data when passing input through to the gray-matter package, due to its default configurations that are missing input sanitization. Exploiting this vulnerability is possible when passing input in both webpack (MDX files in src/pages or MDX file imported as a component in frontend / React code) and data mode (querying MDX nodes via GraphQL). Workaround: If an older version of gatsby-plugin-mdx must be used, input passed into the plugin should be sanitized ahead of processing.

Remediation

Check the references section for vendor advisories and patches from gatsbyjs. Update gatsby to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
gatsbyjs gatsby >= 0, < 2.14.1 Affected

Frequently Asked Questions

What is CVE-2022-25863?

CVE-2022-25863 is a high-severity vulnerability affecting gatsbyjs gatsby. It was published on June 10, 2022 and has a CVSS 3.1 base score of 8.1 (HIGH).

How severe is CVE-2022-25863?

This vulnerability has a CVSS 3.1 base score of 8.1, rated HIGH. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2022-25863?

Check the references section for vendor advisories and patches from gatsbyjs. Update gatsby to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2022-25863?

CyberStrike's AI-powered security agents can automatically detect CVE-2022-25863 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.