Versions of the package spin.js before 3.0.0 are vulnerable to Cross-site Scripting (XSS) via the spin() function that allows a creation of more than 1 alert for each 'target' element. An attacker would need to set an arbitrary key-value pair on Object.prototype through a crafted URL achieving a prototype pollution first, before being able to execute arbitrary JavaScript in the context of the user's browser.
References
| Link | Resource |
|---|---|
| https://gist.github.com/ericcornelissen/1a73e28fa50c3009b0eb51ad2fc19f25 | Broken Link |
| https://security.snyk.io/vuln/SNYK-JS-SPINJS-15445079 | Third Party Advisory |
Configurations
History
07 May 2026, 18:08
| Type | Values Removed | Values Added |
|---|---|---|
| CPE | cpe:2.3:a:spin.js:spin.js:*:*:*:*:*:node.js:*:* | |
| Summary |
|
|
| References | () https://gist.github.com/ericcornelissen/1a73e28fa50c3009b0eb51ad2fc19f25 - Broken Link | |
| References | () https://security.snyk.io/vuln/SNYK-JS-SPINJS-15445079 - Third Party Advisory | |
| First Time |
Spin.js spin.js
Spin.js |
11 Mar 2026, 06:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-03-11 06:17
Updated : 2026-05-07 18:08
NVD link : CVE-2026-3884
Mitre link : CVE-2026-3884
CVE.ORG link : CVE-2026-3884
JSON object : View
Products Affected
spin.js
- spin.js
CWE
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
