CVE-2025-8101: Linkify Allows Prototype Pollution & HTML Attribute Injection (XSS)
Prototype Pollution in internal assign() helper in Linkify allows remote attackers to execute arbitrary JavaScript (Stored or Reflected XSS) via injection of event handlers through unfiltered proto property. This issue affects Linkify version 4.3.1 and is fixed in 4.3.2.
Published Jul 26, 2025 · Updated Jun 26, 2026
Affected packages
linkifyjs
- Ecosystem
- npm
- Affected
- = 4.3.1
- Fixed in
- 4.3.2
- Check
npm ls linkifyjs
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Prototype Pollution in internal assign() helper in Linkify allows remote attackers to execute arbitrary JavaScript (Stored or Reflected XSS) via injection of event handlers through unfiltered proto property. This issue affects Linkify version 4.3.1 and is fixed in 4.3.2.
Credited to saip007, caverav, massif-01.
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-8101
- https://fluidattacks.com/advisories/charly
- https://github.com/nfrasser/linkifyjs
- https://github.com/nfrasser/linkifyjs/releases/tag/v4.3.2
- https://www.npmjs.com/package/linkifyjs
- https://caverav.cl/posts/linkify-xss/linkify-xss
- https://github.com/nfrasser/linkifyjs/commit/931d3e28b68951b8f898ea4d6504696346b485b0
- https://github.com/advisories/GHSA-95jq-xph2-cx9h
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
