wenzhixin/bootstrap-table · Security
Cross-site Scripting in bootstrap-table
- GHSA ID
- GHSA-mw6q-98mp-g8g8
- CVE ID
- CVE-2021-23472
- Severity
- low
- Published
- Updated
- CVSS
- 3.1 · CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N
- CVSS v3
- 3.1 · CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N
Description
This affects all versions 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.
CWEs
- CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
- CWE-843 · Access of Resource Using Incompatible Type ('Type Confusion')
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-23472 ↗
- 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 ↗
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1910688 ↗
- https://github.com/advisories/GHSA-mw6q-98mp-g8g8 ↗