CVE-2026-3884

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:spin.js:spin.js:*:*:*:*:*:node.js:*:*

History

07 May 2026, 18:08

Type Values Removed Values Added
CPE cpe:2.3:a:spin.js:spin.js:*:*:*:*:*:node.js:*:*
Summary
  • (es) Las versiones del paquete spin.js anteriores a la 3.0.0 son vulnerables a Cross-site Scripting (XSS) a través de la función spin() que permite la creación de más de 1 alerta por cada elemento 'target'. Un atacante necesitaría establecer un par clave-valor arbitrario en Object.prototype a través de una URL manipulada, logrando primero una contaminación de prototipos, antes de poder ejecutar JavaScript arbitrario en el contexto del navegador del usuario.
References () https://gist.github.com/ericcornelissen/1a73e28fa50c3009b0eb51ad2fc19f25 - () https://gist.github.com/ericcornelissen/1a73e28fa50c3009b0eb51ad2fc19f25 - Broken Link
References () https://security.snyk.io/vuln/SNYK-JS-SPINJS-15445079 - () 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')