# CVE-2021-23472: Cross-site Scripting (XSS)

- Severity: Low 3.1 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N`
- 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): 2.41%, higher than 84% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 6 links below, marked "exploit"
- Published: 2021-11-03T17:25:11.866Z
- Modified: 2026-06-17T03:38:47.833Z
- Also known as: GHSA-mw6q-98mp-g8g8
- Weaknesses: CWE-79, CWE-843
- Assigned by: snyk

## Description

This affects versions before 1.19.1 of package bootstrap-table. A type confusion vulnerability can lead to a bypass of input sanitization when the input provided to the escapeHTML function is an array (instead of a string) even if the escape attribute is set.

(As written by CVE List.)

## Affected

- bootstrap-table: <1.19.1
- bootstrap-table (npm): up to 1.19.0
- bootstrap-table bootstrap_table: before 1.19.1

## Every score

- snyk: CVSS:3.1 3.1 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 3.1 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://snyk.io/vuln/SNYK-JS-BOOTSTRAPTABLE-1657597> (exploit, mitigation, third-party-advisory, vdb-entry, web)
- <https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBWENZHIXIN-1910687> (exploit, mitigation, third-party-advisory, vdb-entry, web)
- <https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1910688> (exploit, mitigation, third-party-advisory, vdb-entry, web)
- <https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1910689> (exploit, mitigation, third-party-advisory, vdb-entry, web)
- <https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1910690> (exploit, mitigation, third-party-advisory, vdb-entry, web)
- <https://security.snyk.io/vuln/SNYK-JS-BOOTSTRAPTABLE-1657597> (exploit, patch, third-party-advisory, web)
- <https://github.com/wenzhixin/bootstrap-table/blob/develop/src/utils/index.js%23L218> (broken-link, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-23472> (advisory)
- <https://github.com/wenzhixin/bootstrap-table> (package)

## Sources

- CVE List: [CVE-2021-23472](https://www.cve.org/CVERecord?id=CVE-2021-23472), CVE Terms of Use, modified 2024-09-17
- GitHub Advisory Database: [GHSA-mw6q-98mp-g8g8](https://github.com/advisories/GHSA-mw6q-98mp-g8g8), CC-BY-4.0, modified 2025-01-14
- NVD: [CVE-2021-23472](https://nvd.nist.gov/vuln/detail/CVE-2021-23472), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-23472 · Whole record: https://cve.day/CVE-2021-23472.json · Rebuilt by cve.day 2026-11-25T22:58:05.332Z
