Cross-site Scripting Vulnerability in Spin.js Package by Snyk
CVE-2026-3884
5.1MEDIUM
What is CVE-2026-3884?
Spin.js prior to version 3.0.0 contains a vulnerability that exposes applications to Cross-site Scripting (XSS) attacks. Malicious actors can exploit this flaw through the spin() function by introducing an arbitrary key-value pair into Object.prototype via a specially crafted URL. This prototype pollution facilitates the execution of unauthorized JavaScript in the user's browser, leading to potential security breaches.
Affected Version(s)
spin.js 0 < 3.0.0
