Cross-Site Scripting in bootstrap-select

bootstrap-select Updated 02 Oct 2025

Summary

03/09/2020
HIGH
Yes i
High
Not published

GHSA-9r7h-6639-v5mw: Cross-Site Scripting in bootstrap-select. Affects bootstrap-select versions < 1.13.6. Fixed in 1.13.6. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

bootstrap-select is an npm package that provides a customizable select dropdown menu for web applications. It allows developers to enhance the user experience by adding features like search functionality, multi-select options, and custom styling. However, versions prior to 1.13.6 are vulnerable to Cross-Site Scripting (XSS) attacks.

Vulnerability Detail

The vulnerability in bootstrap-select arises from the package's failure to properly escape title values on <option> tags. This oversight enables attackers to inject and execute arbitrary JavaScript code in a victim's browser. By exploiting this vulnerability, an attacker could potentially steal sensitive user information, perform actions on behalf of the user, or manipulate the application's functionality.

How To Fix

Minimum fixed version

1.13.6

This is the first release that contains the fix.

npm install bootstrap-select@1.13.6

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Conclusion

Upgrading to version 1.13.6 or later of the bootstrap-select package is crucial to mitigate the Cross-Site Scripting (XSS) vulnerability. By doing so, you can ensure the security of your application and protect your users' sensitive information. If you need further assistance or support in addressing this vulnerability, please contact DevNack.com.

See every vulnerability recorded for bootstrap-select →

Share this vulnerability

FAQ

Cross-Site Scripting (XSS) is a type of security vulnerability that allows attackers to inject malicious scripts into web pages viewed by other users. These scripts can be used to steal sensitive information, manipulate website content, or perform actions on behalf of the user.

If your application uses an older version of the bootstrap-select package, it is susceptible to Cross-Site Scripting (XSS) attacks. This means that an attacker could potentially execute arbitrary JavaScript code in your users' browsers, leading to various security risks and potential data breaches.

No, only versions prior to 1.13.6 of the bootstrap-select package are vulnerable to this Cross-Site Scripting (XSS) issue. It is crucial to update to the latest version to mitigate the risk.

No, there is no known workaround for this vulnerability. The recommended solution is to upgrade to version 1.13.6 or later of the bootstrap-select package.

You can find more information about the bootstrap-select vulnerability, including its impact and the fixed version, in the official GitHub advisory: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-9r7h-6639-v5mw/GHSA-9r7h-6639-v5mw.json

Related vulnerabilities

Recent vulnerabilities recorded for bootstrap-select.

How To Fix

Minimum fixed version

1.13.6

This is the first release that contains the fix.

npm install bootstrap-select@1.13.6

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback