What’s Vulnerable › Vulnerabilities
CVE-2022-1726: Bootstrap Tables XSS vulnerability with Table Export plug-in when exportOptions: htmlContent is true in wenzhixin/bootstrap-table
- Severity: medium (CVSS 5.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.9% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-05-16 · updated 2026-06-17
- Weakness: CWE-79
Description
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 products
- wenzhixin/bootstrap-table: before 1.20.2 — fixed in 1.20.2
How to fix
Upgrade to a fixed version: wenzhixin/bootstrap-table 1.20.2. Check the vendor advisory for mitigations.
References
- https://github.com/wenzhixin/bootstrap-table/commit/b4a1e5dd332be652e0bc376fd9256886cf4bbde9
- https://huntr.dev/bounties/9b85cc33-0395-4c31-8a42-3a94beb2efea
- https://github.com/wenzhixin/bootstrap-table/commit/b4a1e5dd332be652e0bc376fd9256886cf4bbde9
- https://huntr.dev/bounties/9b85cc33-0395-4c31-8a42-3a94beb2efea
Get alerted when CVE-2022-1726 or the next vulnerability affects your stack