What’s Vulnerable › Vulnerabilities
CVE-2021-23472: Cross-site Scripting (XSS)
- Severity: medium (CVSS 6.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.4% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2021-11-03 · updated 2026-06-17
- Weakness: CWE-843
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.
Affected products
- wenzhixin/bootstrap-table: before 1.19.1 — fixed in 1.19.1
How to fix
Upgrade to a fixed version: wenzhixin/bootstrap-table 1.19.1. Check the vendor advisory for mitigations.
References
- https://github.com/wenzhixin/bootstrap-table/blob/develop/src/utils/index.js%23L218
- https://security.snyk.io/vuln/SNYK-JS-BOOTSTRAPTABLE-1657597
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1910690
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1910689
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBWENZHIXIN-1910687
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1910688
- https://snyk.io/vuln/SNYK-JS-BOOTSTRAPTABLE-1657597
- https://github.com/wenzhixin/bootstrap-table/blob/develop/src/utils/index.js%23L218
- https://security.snyk.io/vuln/SNYK-JS-BOOTSTRAPTABLE-1657597
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1910690
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1910689
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBWENZHIXIN-1910687
Get alerted when CVE-2021-23472 or the next vulnerability affects your stack