Live threats

All CVEs / Markdown-it

CVE-2026-59887Markdown-it Linkify-it

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
—
Auth required
No
Published
Jul 8, 2026
Updated
Oct 25, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-407
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

linkify-it is a links recognition library with full Unicode support. Prior to 5.0.2, the mailto: schema validator used by .test() and .match() can be invoked at every mailto: occurrence and scan the remaining input through src_email_name in lib/re.mjs, causing O(n^2) CPU consumption on crafted user text. This issue is fixed in version 5.0.2.

Original NVD text.

What to do

  1. Apply the vendor's security update for Linkify-it.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm linkify-it < 5.0.2 5.0.2 npm install linkify-it@5.0.2

Per OSV / GitHub Advisories (GHSA-v245-v573-v5vm). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
markdown-itlinkify-it< 5.0.2

Official sources

References

Links published by the sources. Open them with care.