Cross-Site Scripting in bootstrap-selectGHSA-9r7h-6639-v5mw
GHSA-9r7h-6639-v5mw is a Cross-site Scripting (XSS) vulnerability in bootstrap-select. A fix is available for bootstrap-select — see the affected versions and patch details below.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
Real-World Exposure
How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.
bootstrap-selectnpmDescription
Versions of bootstrap-select prior to 1.13.6 are vulnerable to Cross-Site Scripting (XSS). The package does not escape title values on <option> tags. This may allow attackers to execute arbitrary JavaScript in a victim's browser.
Recommendation
Upgrade to version 1.13.6 or later.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦npm | bootstrap-select | all versions | 1.13.6npm install bootstrap-select@1.13.6 |
Affected Products
bootstrap-selectsnapappointmentsDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for bootstrap-select, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update bootstrap-select to 1.13.6 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-9r7h-6639-v5mw is resolved across your whole dependency graph.
Workarounds
Escape or sanitise the affected output on the server side rather than relying on client-side filtering, and add a Content-Security-Policy that blocks inline script execution so injected markup cannot run even if it reaches the page.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
In OpenShift Service Mesh (OSSM) the openshift-service-mesh/kiali-rhel7 container (which installs the kiali rpm) is behind OpenShift OAuth authentication restricting access to the vulnerable bootstrap-select library to authenticated users only, therefore the impact is low.
| Product | Fixed in | Advisory |
|---|---|---|
| Red Hat Virtualization Engine 4.4 | ovirt-web-ui-0:1.6.7-1.el8ev | RHSA-2021:1169 |
| Red Hat Virtualization Engine 4.4 | ovirt-engine-ui-extensions-0:1.2.5-1.el8ev | RHSA-2021:1186 |
Frequently Asked Questions
Is GHSA-9r7h-6639-v5mw in your dependencies?
Find it across npm, including transitive dependencies.