Vulnerability · Published Mar 11, 2026 · Assigned by snyk
CVE-2026-3884
Medium 6.1
In plain English
A medium-severity cross-site scripting in spin.js. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 8% of all known vulnerabilities).
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | libjs-spin.js | no fix listed | DEBIAN-CVE-2026-3884 |
| Debian:13 | libjs-spin.js | no fix listed | DEBIAN-CVE-2026-3884 |
| Debian:14 | libjs-spin.js | no fix listed | DEBIAN-CVE-2026-3884 |
| Ubuntu:22.04:LTS | libjs-spin.js | no fix listed | UBUNTU-CVE-2026-3884 |
| Ubuntu:24.04:LTS | libjs-spin.js | no fix listed | UBUNTU-CVE-2026-3884 |
| Ubuntu:25.10 | libjs-spin.js | no fix listed | UBUNTU-CVE-2026-3884 |
| Ubuntu:26.04:LTS | libjs-spin.js | no fix listed | UBUNTU-CVE-2026-3884 |
| Ubuntu:26.10 | libjs-spin.js | no fix listed | UBUNTU-CVE-2026-3884 |
Affected products (as reported)
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N/E:P