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

- Severity: Medium 6.8 (CVSS:3.0, scored by @huntrdev) `CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.89%, higher than 60% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-05-16T14:55:18.000Z
- Modified: 2026-06-17T04:22:59.500Z
- Also known as: GHSA-grw5-g9h2-wpg8
- Weaknesses: CWE-79
- Assigned by: @huntrdev

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

(As written by CVE List.)

## Affected

- wenzhixin wenzhixin/bootstrap-table: from unspecified before 1.20.2
- bootstrap-table (npm): before 1.20.2
- bootstrap-table bootstrap_table: before 1.20.2

## Every score

- @huntrdev: CVSS:3.0 6.8 Medium `CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:L`
- GitHub: CVSS:3.0 6.8 Medium `CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:L`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:P/A:N`

## References

- <https://huntr.dev/bounties/9b85cc33-0395-4c31-8a42-3a94beb2efea> (exploit, third-party-advisory, web)
- <https://github.com/wenzhixin/bootstrap-table/commit/b4a1e5dd332be652e0bc376fd9256886cf4bbde9> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-1726> (advisory)
- <https://github.com/wenzhixin/bootstrap-table> (package)

## Sources

- CVE List: [CVE-2022-1726](https://www.cve.org/CVERecord?id=CVE-2022-1726), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-grw5-g9h2-wpg8](https://github.com/advisories/GHSA-grw5-g9h2-wpg8), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-1726](https://nvd.nist.gov/vuln/detail/CVE-2022-1726), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-1726 · Whole record: https://cve.day/CVE-2022-1726.json · Rebuilt by cve.day 2026-11-25T22:58:11.737Z
