bootstrap-switch@2.0.1 vulnerabilities

Turn checkboxes and radio buttons into toggle switches.

Direct Vulnerabilities

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

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • H
Cross-site Scripting (XSS)

bootstrap-switch is a package that helps you turn checkboxes and radio buttons into toggle switches.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) when switches based on user submitted configuration are allowed.

PoC by jwcooper

https://jsfiddle.net/876myrk5/

How to fix Cross-site Scripting (XSS)?

A fix was pushed into the master branch but not yet published.

*