{"id":"CVE-2021-23472","aliases":["CVE-2021-23472","GHSA-mw6q-98mp-g8g8"],"related":[],"kind":"vulnerability","state":"published","title":"Cross-site Scripting (XSS)","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Esto afecta a las versiones anteriores a la 1.19.1 del paquete bootstrap-table. Una vulnerabilidad de confusión de tipos puede llevar a una evasión de la sanitización de la entrada cuando la entrada proporcionada a la función escapeHTML es un array (en lugar de una cadena) incluso si el atributo escape está establecido","source":"nvd"}],"published":"2021-11-03T17:25:11.866Z","modified":"2026-06-17T03:38:47.833Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N","score":3.1,"rating":"LOW"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N","score":3.1,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N","score":3.1,"rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-79","CWE-843"],"affected":[{"ranges":[{"version":"<1.19.1","status":"affected"}],"product":"bootstrap-table","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"1.19.0"}],"ecosystem":"npm","package":"bootstrap-table","purl":"pkg:npm/bootstrap-table","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.19.1"}],"vendor":"bootstrap-table","product":"bootstrap_table","cpe":"cpe:2.3:a:bootstrap-table:bootstrap_table:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-BOOTSTRAPTABLE-1657597","tags":["exploit","mitigation","third-party-advisory","vdb-entry","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBWENZHIXIN-1910687","tags":["exploit","mitigation","third-party-advisory","vdb-entry","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1910688","tags":["exploit","mitigation","third-party-advisory","vdb-entry","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1910689","tags":["exploit","mitigation","third-party-advisory","vdb-entry","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1910690","tags":["exploit","mitigation","third-party-advisory","vdb-entry","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/wenzhixin/bootstrap-table/blob/develop/src/utils/index.js%23L218","tags":["broken-link","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://security.snyk.io/vuln/SNYK-JS-BOOTSTRAPTABLE-1657597","tags":["exploit","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23472","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/wenzhixin/bootstrap-table","tags":["package"],"sources":["ghsa"]}],"credits":["Alessio Della Libera of Snyk Research Team"],"assigner":"snyk","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-23472","url":"https://www.cve.org/CVERecord?id=CVE-2021-23472","licence":"CVE Terms of Use","modified":"2024-09-17T02:56:45.202Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-mw6q-98mp-g8g8","url":"https://github.com/advisories/GHSA-mw6q-98mp-g8g8","licence":"CC-BY-4.0","modified":"2025-01-14T09:12:06.380Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-23472","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23472","licence":"Public domain","modified":"2026-06-17T03:38:47.833Z"}],"updatedAt":"2026-11-25T22:58:05.332Z","epss":{"score":0.02409,"percentile":0.84547,"date":"2026-12-01T12:00:22.000Z"}}