cvedb.io
CVE-2023-22491
HIGH · CVSS 8.1
EPSS exploitation probability: 0%
Published 2023-01-13T19:15:12.407 · Last modified 2026-06-17T05:35:34.647

Summary

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 `[email protected]` and `[email protected]` which mitigate

Affected products

gatsbyjs — gatsby

Does this affect you?

Add your gear to cvedb and we'll alert you only when gatsbyjs ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.