| Name | CVE-2026-3884 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| Debian Bugs | 1131449 |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|
| libjs-spin.js (PTS) | bookworm, bullseye, trixie | 1.2.8+dfsg2-1.1 | vulnerable |
| forky, sid | 1.2.8+dfsg2-2 | vulnerable |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|
| libjs-spin.js | source | (unstable) | (unfixed) | | | 1131449 |
Notes
[trixie] - libjs-spin.js <no-dsa> (Minor issue)
[bookworm] - libjs-spin.js <no-dsa> (Minor issue)
[bullseye] - libjs-spin.js <postponed> (Minor issue, hard to trigger)
https://security.snyk.io/vuln/SNYK-JS-SPINJS-15445079
Fixed by: https://github.com/fgnass/spin.js/commit/1f63d33b74e5919e7fe24bf97eca96a346535f6f