CVE-2026-3884

Source
https://cve.org/CVERecord?id=CVE-2026-3884
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-3884.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-3884
Downstream
Published
2026-03-11T05:00:09.279Z
Modified
2026-07-08T07:32:38.832630572Z
Severity
  • 2.0 (Low) CVSS_V4 - 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 CVSS Calculator
Summary
[none]
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.

Database specific
{
    "unresolved_ranges": [
        {
            "source": "AFFECTED_FIELD",
            "extracted_events": [
                {
                    "fixed": "3.0.0"
                }
            ]
        },
        {
            "source": "DESCRIPTION",
            "extracted_events": [
                {
                    "introduced": "spin.js"
                },
                {
                    "fixed": "3.0.0"
                },
                {
                    "introduced": "Object.prototype"
                }
            ]
        }
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/3xxx/CVE-2026-3884.json",
    "cna_assigner": "snyk",
    "cwe_ids": [
        "CWE-79"
    ]
}
References

Affected packages

Git / github.com/fgnass/spin.js

Affected ranges

Type
GIT
Repo
https://github.com/fgnass/spin.js
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "source": "CPE_RANGE",
    "cpe": "cpe:2.3:a:spin.js:spin.js:*:*:*:*:*:node.js:*:*",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "3.0.0"
        }
    ]
}

Affected versions

1.*
1.2.2
1.2.3
1.2.4
1.2.5
1.2.6
1.2.7
1.3.0
1.3.1
1.3.2
1.3.3
2.*
2.0.0
2.0.1
2.0.2
2.1.0
2.1.2
2.3.1
2.3.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-3884.json"