{"id":"CVE-2026-48801","published":"2026-07-14T20:03:56Z","modified":"2026-07-15T12:56:15Z","title":"linkify-it: Quadratic algorithmic complexity in LinkifyIt#match scan loop","vendor":"markdown-it","product":"linkify-it","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00394,"percentile":0.34433,"provenance":"source"},"cwes":[{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"}],"references":[{"url":"https://github.com/markdown-it/linkify-it/security/advisories/GHSA-22p9-wv53-3rq4","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/markdown-it/linkify-it/commit/6be6d15e0641bf1daeaa977d500cabc743166159","tags":["x_refsource_MISC"]}],"priority":{"score":13.0,"factors":[{"name":"EPSS percentile","points":6.89},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"markdown-it","affectedVersions":[{"vendor":"markdown-it","product":"linkify-it","versions":["< 5.0.1"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-07-15T12:56:10.402451Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"linkify-it","vulnerableRanges":["<5.0.1"],"patched":["5.0.1"],"from":["GHSA-22p9-wv53-3rq4"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-44454","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-48801","published":"2026-07-14","fixed":"5.0.1","kev":false},{"cve":"CVE-2026-59887","published":"2026-07-08","fixed":"5.0.2","kev":false,"link":{"from":"CVE-2026-48801","to":"CVE-2026-59887","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:linkify-it","fromFixed":"5.0.1","toFixed":"5.0.2","daysApart":-6}]}}],"package":"npm:linkify-it"}}