CVE-2021-23472
MEDIUM 6.1CVSS 3.1Cross-site Scripting in bootstrap-table
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.
- Published
- 3 Nov 2021
- Last modified
- 17 Jun 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-79CWE-843
- Also known as
- GHSA-mw6q-98mp-g8g8
- Sources
- NVDJSONOSV GHSA-mw6q-98mp-g8g8JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | LOW 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | LOW 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | bootstrap-table | bootstrap_tablecpe:2.3:a:bootstrap-table:bootstrap_table:*:*:*:*:*:*:*:* |
< 1.19.1 | 1.19.1 |
| OSV | npm | bootstrap-table | <= 1.19.0 |
References
- https://github.com/wenzhixin/bootstrap-table/blob/develop/src/utils/index.js%23L218 · Broken Link, Third Party Advisory, WEB
- https://security.snyk.io/vuln/SNYK-JS-BOOTSTRAPTABLE-1657597 · Exploit, Patch, Third Party Advisory, WEB
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1910690 · 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-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-JS-BOOTSTRAPTABLE-1657597 · Exploit, Mitigation, Third Party Advisory, VDB Entry, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-23472 · ADVISORY
- https://github.com/wenzhixin/bootstrap-table · PACKAGE
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 3 Nov 2021)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 8 Nov 2021)