Cross-site Scripting in bootstrap-tableGHSA-grw5-g9h2-wpg8
MEDIUMFix: wenzhixin/bootstrap-table@b4a1e5dGHSA-grw5-g9h2-wpg8 is a medium-severity (CVSS 6.8) Cross-site Scripting (XSS) vulnerability in bootstrap-table. 1 public exploit or proof-of-concept reference is indexed, so weaponization risk is real. A fix is available for bootstrap-table — see the affected versions and patch details below.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
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-tablenpmDescription
Bootstrap Tables XSS vulnerability with Table Export plug-in when exportOptions: htmlContent is true in GitHub repository wenzhixin/bootstrap-table prior to 1.20.2. Disclosing session cookies, disclosing secure session data, exfiltrating data to third-parties.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦npm | bootstrap-table | all versions | 1.20.2npm install bootstrap-table@1.20.2 |
Affected Products
bootstrap tablebootstrap-tableResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for bootstrap-table, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update bootstrap-table to 1.20.2 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-grw5-g9h2-wpg8 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.
Frequently Asked Questions
Is GHSA-grw5-g9h2-wpg8 in your dependencies?
Find it across npm, including transitive dependencies.