{"id":"UBUNTU-CVE-2026-3884","details":"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.","modified":"2026-05-20T16:25:38.149922420Z","published":"2026-03-11T06:17:00Z","upstream":["CVE-2026-3884"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-3884"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-3884"},{"type":"REPORT","url":"https://gist.github.com/ericcornelissen/1a73e28fa50c3009b0eb51ad2fc19f25"},{"type":"REPORT","url":"https://security.snyk.io/vuln/SNYK-JS-SPINJS-15445079"}],"affected":[{"package":{"name":"libjs-spin.js","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/libjs-spin.js?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.8+dfsg2-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libjs-spin.js","binary_version":"1.2.8+dfsg2-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-3884.json"}},{"package":{"name":"libjs-spin.js","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/libjs-spin.js?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.8+dfsg2-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libjs-spin.js","binary_version":"1.2.8+dfsg2-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-3884.json"}},{"package":{"name":"libjs-spin.js","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/libjs-spin.js?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.8+dfsg2-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.2.8+dfsg2-1","binary_name":"libjs-spin.js"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-3884.json"}},{"package":{"name":"libjs-spin.js","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/libjs-spin.js?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.8+dfsg2-1.1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.2.8+dfsg2-1.1","binary_name":"libjs-spin.js"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-3884.json"}},{"package":{"name":"libjs-spin.js","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/libjs-spin.js?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.8+dfsg2-1.1"],"ecosystem_specific":{"binaries":[{"binary_name":"libjs-spin.js","binary_version":"1.2.8+dfsg2-1.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-3884.json"}},{"package":{"name":"libjs-spin.js","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/libjs-spin.js?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.8+dfsg2-1.1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.2.8+dfsg2-1.1","binary_name":"libjs-spin.js"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-3884.json"}},{"package":{"name":"libjs-spin.js","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/libjs-spin.js?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.8+dfsg2-1.1","1.2.8+dfsg2-2"],"ecosystem_specific":{"binaries":[{"binary_name":"libjs-spin.js","binary_version":"1.2.8+dfsg2-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-3884.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:P"},{"type":"Ubuntu","score":"medium"}]}