Skip to content
OpenAdvisories
Medium · 6.1 CVE-2026-3884 EUVD-2026-11105GHSA-h99f-r56h-cmrp

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…

Published Mar 11, 2026 · Updated Mar 11, 2026 · Assigned by snyk

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

VendorProductAffectedFixed
— spin.js < 3.0.0 3.0.0

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libjs-spin.js No fix yet —
Debian 13 libjs-spin.js No fix yet —
Debian 12 libjs-spin.js No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 libjs-spin.js No fix yet —
Ubuntu 26.04 LTS libjs-spin.js No fix yet —
Ubuntu 25.10 libjs-spin.js No fix yet —
Ubuntu 24.04 LTS libjs-spin.js No fix yet —
Ubuntu 22.04 LTS libjs-spin.js No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS libjs-spin.js No fix yet —
Ubuntu 18.04 LTS libjs-spin.js No fix yet —
Ubuntu 16.04 LTS libjs-spin.js No fix yet —

References