Skip to content

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

MediumCVSS 5.1 EPSS 0.19%
Published
Updated
Exploit status
No public exploit known

Description

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.

Affected products

ProductAffected versionsFixed in
debian/libjs-spin.js(Debian:12) All versions No fix listed
debian/libjs-spin.js(Debian:12) = 1.2.8+dfsg2-1.1 No fix listed
debian/libjs-spin.js(Debian:12) = 1.2.8+dfsg2-2 No fix listed
debian/libjs-spin.js(Debian:13) All versions No fix listed
debian/libjs-spin.js(Debian:13) = 1.2.8+dfsg2-1.1 No fix listed
debian/libjs-spin.js(Debian:13) = 1.2.8+dfsg2-2 No fix listed
debian/libjs-spin.js(Debian:14) All versions No fix listed
debian/libjs-spin.js(Debian:14) = 1.2.8+dfsg2-1.1 No fix listed
debian/libjs-spin.js(Debian:14) = 1.2.8+dfsg2-2 No fix listed
ubuntu/libjs-spin.js(Ubuntu:22.04) All versions No fix listed
ubuntu/libjs-spin.js(Ubuntu:24.04) All versions No fix listed
ubuntu/libjs-spin.js(Ubuntu:26.04) All versions No fix listed
ubuntu/libjs-spin.js(Ubuntu:26.10) All versions No fix listed
spin.js < 3.0.0 3.0.0

References