# CVE-2026-3884: 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…

- Severity: Medium 5.1 (CVSS:4.0, scored by snyk) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 8% of CVEs (2026-12-01)
- Published: 2026-03-11T05:00:09.279Z
- Modified: 2026-06-17T10:44:22.803Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- spin.js: before 3.0.0
- spin.js spin.js: before 3.0.0

## Every score

- snyk: CVSS:4.0 5.1 Medium `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`
- snyk: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N/E:P`

## References

- <https://security.snyk.io/vuln/SNYK-JS-SPINJS-15445079> (third-party-advisory)
- <https://gist.github.com/ericcornelissen/1a73e28fa50c3009b0eb51ad2fc19f25> (broken-link)

## Sources

- CVE List: [CVE-2026-3884](https://www.cve.org/CVERecord?id=CVE-2026-3884), CVE Terms of Use, modified 2026-03-11
- NVD: [CVE-2026-3884](https://nvd.nist.gov/vuln/detail/CVE-2026-3884), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-3884 · Whole record: https://cve.day/CVE-2026-3884.json · Rebuilt by cve.day 2026-11-25T22:59:15.722Z
