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

Severity (CVSS 3.1)6.1Medium
Exploit odds (30 days)0.2%top 91.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Debian:12libjs-spin.jsno fix listedDEBIAN-CVE-2026-3884
Debian:13libjs-spin.jsno fix listedDEBIAN-CVE-2026-3884
Debian:14libjs-spin.jsno fix listedDEBIAN-CVE-2026-3884
Ubuntu:22.04:LTSlibjs-spin.jsno fix listedUBUNTU-CVE-2026-3884
Ubuntu:24.04:LTSlibjs-spin.jsno fix listedUBUNTU-CVE-2026-3884
Ubuntu:25.10libjs-spin.jsno fix listedUBUNTU-CVE-2026-3884
Ubuntu:26.04:LTSlibjs-spin.jsno fix listedUBUNTU-CVE-2026-3884
Ubuntu:26.10libjs-spin.jsno fix listedUBUNTU-CVE-2026-3884

Affected products (as reported)

VendorProductVersions
n/a spin.js 0 – before 3.0.0

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

References