Approved changes feed: RSS · Atom

cpe:2.3:a:gatsbyjs:gatsby:6.3.1:*:*:*:*:node.js:*:*

part: a version: 6.3.1 update: *

VendorGatsbyjs (5329b80d-2167-5647-af74-9962ea542370)
ProductGatsby (87e241f2-adf3-51e8-abc7-35e6adc0f596)
Edition*
Language*
Software edition*
Target softwarenode.js
Target hardware*
Other*
NotesImported from NVD CPE 2.0 feed

PURL mappings

PURLSourceLast updated
pkg:github/gatsbyjs/gatsby purl2cpe 2026-06-01 10:15:39.691446
pkg:npm/gatsby purl2cpe 2026-06-01 10:15:39.691447
pkg:sourceforge/gatsby.mirror purl2cpe 2026-06-01 10:15:39.691449

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2023-22491 vulnerable 2026-06-08 05:54:26.427032 gatsby-transformer-remark vulnerable to unsanitized JavaScript code injection
HIGH (8.1)
Gatsby is a free and open source framework based on React that helps developers build websites and apps. 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. The vulnerability is present in gatsby-transformer-remark when passing input in data mode (querying MarkdownRemark nodes via GraphQL). Injected JavaScript executes in the context of the build server. To exploit this vulnerability untrusted/unsanitized input would need to be sourced by or added into a file processed by gatsby-transformer-remark. A patch has been introduced in `gatsby-transformer-remark@5.25.1` and `gatsby-transformer-remark@6.3.2` which mitigates the issue by disabling the `gray-matter` JavaScript Frontmatter engine. As a workaround, if an older version of `gatsby-transformer-remark` must be used, input passed into the plugin should be sanitized ahead of processing. It is encouraged for projects to upgrade to the latest major release branch for all Gatsby plugins to ensure the latest security updates and bug fixes are received in a timely manner.
Published: 2023-01-13T18:05:00.273Z
Updated: 2025-03-11T13:34:01.261Z
Reference links
Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.