nice-select2@2.3.1

A lightweight Vanilla JavaScript plugin that replaces native select elements with customizable dropdowns.

  • latest version

    2.5.0

  • latest non vulnerable version

  • first published

    7 years ago

  • latest version published

    11 hours ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the nice-select2 package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • M
    Cross-site Scripting (XSS)

    nice-select2 is an A lightweight Vanilla JavaScript plugin that replaces native select elements with customizable dropdowns.

    Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via the <select> element. An attacker can supply a malicious payload that is rendered directly into the DOM without proper sanitization, causing arbitrary script execution in a victim’s browser when they view or interact with the affected page.

    How to fix Cross-site Scripting (XSS)?

    Upgrade nice-select2 to version 2.4.1 or higher.

    <2.4.1