Medium
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-23472
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 04:26 UTC · Revision 1
Source evidence
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.
osv:CVE-2021-23472
Complete source record
{
"id": "f16ba5b3dbf66e3444878416c78f0916581959594cb81f9fff3487089fbebe52",
"url": "https://osv.dev/vulnerability/CVE-2021-23472",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-23472",
"summary": "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.",
"evidence": "osv:CVE-2021-23472",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2021-23472",
"aliases": [
"CVE-2021-23472",
"GHSA-mw6q-98mp-g8g8"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/wenzhixin/bootstrap-table",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "d73547cbb2d79cba0288b17a6ed44ff92753dd8e"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:bootstrap-table:bootstrap_table:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "1.19.1"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"1.19.0",
"1.18.3",
"1.18.2",
"1.18.1",
"1.18.0",
"1.17.1",
"1.17.0",
"1.16.0",
"1.15.5",
"1.15.4",
"1.15.3",
"1.15.2",
"1.14.2",
"1.14.1",
"1.13.5",
"1.13.4",
"1.13.3",
"1.13.2",
"1.13.1",
"1.13.0",
"1.12.2",
"1.12.1",
"1.12.0",
"1.11.1",
"1.11.0",
"1.10.1",
"1.10.0",
"1.9.1",
"1.9.0",
"1.8.1",
"1.8.0",
"1.7.0",
"1.6.0",
"1.5.0",
"1.4.0",
"1.3.0",
"1.2.4",
"1.2.3",
"1.2.2",
"1.2.1",
"1.2.0",
"1.1.5",
"1.1.4",
"1.1.3",
"1.1.2",
"1.1.1",
"1.1.0",
"1.0.6",
"1.0.5",
"1.0.4",
"1.0.3",
"1.0.2",
"1.0.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-23472.json"
}
}
],
"modified": "2026-10-24T10:30:18.417697524Z",
"provider": "osv",
"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"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-23472",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 429766,
"published_at": "2021-11-03T18:15:08.01+00:00"
}