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

- Severity: High 8.7 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 35% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-26T20:47:58.000Z
- Modified: 2026-10-24T21:10:00.130Z
- Also known as: GHSA-22p9-wv53-3rq4
- Weaknesses: CWE-1333
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- markdown-it linkify-it: < 5.0.1; before 5.0.1
- linkify-it (npm): before 5.0.1

## Every score

- GitHub_M: CVSS:4.0 8.7 High `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`
- GitHub: CVSS:4.0 High `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`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/markdown-it/linkify-it/security/advisories/GHSA-22p9-wv53-3rq4> (exploit, vendor-advisory, web)
- <https://github.com/markdown-it/linkify-it/commit/6be6d15e0641bf1daeaa977d500cabc743166159> (patch)
- <https://github.com/markdown-it/linkify-it> (package)

## Sources

- CVE List: [CVE-2026-48801](https://www.cve.org/CVERecord?id=CVE-2026-48801), CVE Terms of Use, modified 2026-07-15
- GitHub Advisory Database: [GHSA-22p9-wv53-3rq4](https://github.com/advisories/GHSA-22p9-wv53-3rq4), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-48801](https://nvd.nist.gov/vuln/detail/CVE-2026-48801), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-48801 · Whole record: https://cve.day/CVE-2026-48801.json · Rebuilt by cve.day 2026-11-25T22:59:28.225Z
