---
title: "CVE-2023-22491: gatsbyjs gatsby Vulnerability"
publisher: SpecStream
source: "CVE Program (CVEProject cvelistV5)"
source_url: "https://github.com/CVEProject/cvelistV5"
---

# CVE-2023-22491: gatsbyjs gatsby Vulnerability

SpecStream dataset, built from [CVE Program (CVEProject cvelistV5)](https://github.com/CVEProject/cvelistV5), updated December 6, 2026.

CVE-2023-22491 is a published software vulnerability affecting gatsbyjs gatsby. CVSS base score: 8.1 (HIGH). Published January 13, 2023 by GitHub\_M. 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.

[CVE Vulnerabilities](/data/cve)

SpecStream is the live web data engine for teams and agents.

- CVE ID: CVE-2023-22491
- Status: Published
- Affected vendor: gatsbyjs
- Affected product: gatsby
- Assigner CNA: GitHub\_M
- Published date: January 13, 2023
- Last updated: March 11, 2025
- CVSS base score: 8.1 (HIGH)
- CVSS vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
- Weakness (CWE): CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

## Vulnerability data and live monitoring

Query CVE feeds, affected software packages and severity updates through the SpecStream API or export structured CSV files.

- [https://specstream.ai/data/cve](https://specstream.ai/data/cve)
- [https://specstream.ai/signup?src=cve-vulnerabilities](https://specstream.ai/signup?src=cve-vulnerabilities)

CVE Terms of Use (Public Vulnerability Records).

## Access via API, MCP, or CSV

Query live web and register data via the SpecStream Search API ($1 per 1,000 fast searches), Extract API ($0.80 per 1,000 Markdown pages), or MCP server (`npx -y @specstream/mcp-server`). Start with [$2 free API credit (no card)](https://specstream.ai/signup) or unlock 5,000 CSV rows/mo plus $49 API credit with the [Monthly Pro Pass ($49/mo)](https://specstream.ai/v1/billing/credit-plans/checkout?plan=starter).

Free to quote with credit and a link. Copying in bulk needs a [data licence](https://specstream.ai/data/licence).

## Business lists in the United States

- [Accounting firms in the United States](https://specstream.ai/data/businesses/accounting-firms/united-states)
- [Tobacco companies in the United States](https://specstream.ai/data/businesses/tobacco-companies/united-states)
- [Seafood restaurants in the United States](https://specstream.ai/data/businesses/seafood-restaurants/united-states)
- [Pilates studios in the United States](https://specstream.ai/data/businesses/pilates-studios/united-states)
- [Middle schools in the United States](https://specstream.ai/data/businesses/middle-schools/united-states)
- [IP and internet law firms in the United States](https://specstream.ai/data/businesses/ip-and-internet-law-firms/united-states)
