8.7Alta

CVE-2026-48801linkify-it: Quadratic algorithmic complexity in LinkifyIt#match scan loop

markdown-it linkify-it Publicada: (hace 4 meses)

Descripción

linkify-it is a links recognition library with full Unicode support. Prior to 5.0.1, LinkifyIt.prototype.match, the package's primary public API, has O(N²) algorithmic complexity for inputs containing many fuzzy links or emails because the JavaScript-level scan loop re-slices input and re-runs unanchored regex searches on progressively shorter tails. Any service that synchronously renders untrusted Markdown with linkify:true on a request hot path can inherit a worker-process denial of service triggerable by a tens-of-KB request body. This issue is fixed in version 5.0.1.

Debilidad (CWE): CWE-1333

Datos: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Se publican tal como los indican las fuentes, en inglés.

Productos y versiones afectados

FabricanteProductoVersiones
markdown-it linkify-it < 5.0.1

Referencias y parches

Coincidencias CPE (NVD) (1)

  • cpe:2.3:a:markdown-it:linkify-it:*:*:*:*:*:node.js:*:* < 5.0.1