Amenazas en vivo

Todas las CVE / Gatsbyjs

CVE-2022-25863Gatsbyjs Gatsby-plugin-mdx

Crítica 9.8 Sin autenticación

Prioridad
74
CVSS 3.1
9.8
EPSS
1.9%
probabilidad de explotación en 30 días · percentil 80
Requiere autenticación
No
Publicada
10 jun 2022
Actualizada
29 sep 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-502
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Qué pasa

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.

Texto original de NVD, en inglés. La traducción y el resumen en español llegan pronto.

Qué hacer

  1. Aplica la actualización de seguridad del fabricante para Gatsby-plugin-mdx.
  2. Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.

Paquetes afectados

EcosistemaPaqueteVersiones afectadasCorregida enCómo actualizar
npm gatsby-plugin-mdx < 2.14.1 2.14.1 npm install gatsby-plugin-mdx@2.14.1
npm gatsby-plugin-mdx ≥ 3.0.0 < 3.15.2 3.15.2 npm install gatsby-plugin-mdx@3.15.2

Según OSV / GitHub Advisories (GHSA-mj46-r4gr-5x83). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados (CPE)

FabricanteProductoVersiones
gatsbyjsgatsby-plugin-mdx< 2.14.1
gatsbyjsgatsby-plugin-mdx≥ 3.0.0 < 3.15.2

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.