{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-23472","id":"CVE-2021-23472","title":"Cross-site Scripting (XSS)","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.","descriptionLong":"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":"2021-11-03T17:25:11.866Z","updated":"2026-10-24T10:30:18.417697524Z","reserved":"2021-01-08T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"snyk","metric":{"version":"3.1","score":3.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N","rating":"low","source":"snyk"},"metrics":[{"version":"3.1","score":3.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N","rating":"low","source":"snyk"},{"version":"3.1","score":3.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N","rating":"low","source":"snyk.io"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":3.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N","rating":"low","source":"GitHub"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","rating":"medium","source":"NVD"}],"rating":"low","products":["bootstrap-table"],"affectedProducts":[{"vendor":"n/a","product":"bootstrap-table","defaultStatus":null,"versions":[{"status":"affected","version":"<1.19.1"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"bootstrap-table","purl":"pkg:npm/bootstrap-table","ranges":["<=1.19.0"],"fixed":[],"advisory":"GHSA-mw6q-98mp-g8g8"}],"cwes":["CWE-843","CWE-79"],"aliases":["GHSA-mw6q-98mp-g8g8"],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-BOOTSTRAPTABLE-1657597","tags":["x_refsource_MISC","x_transferred","Exploit","Mitigation","Third Party Advisory","VDB Entry","evidence","web"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBWENZHIXIN-1910687","tags":["x_refsource_MISC","x_transferred","Exploit","Mitigation","Third Party Advisory","VDB Entry","evidence","web"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1910688","tags":["x_refsource_MISC","x_transferred","Exploit","Mitigation","Third Party Advisory","VDB Entry","evidence","web"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1910689","tags":["x_refsource_MISC","x_transferred","Exploit","Mitigation","Third Party Advisory","VDB Entry","evidence","web"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1910690","tags":["x_refsource_MISC","x_transferred","Exploit","Mitigation","Third Party Advisory","VDB Entry","evidence","web"]},{"url":"https://github.com/wenzhixin/bootstrap-table/blob/develop/src/utils/index.js%23L218","tags":["x_refsource_MISC","x_transferred","Broken Link","Third Party Advisory","advisory","web"]},{"url":"https://security.snyk.io/vuln/SNYK-JS-BOOTSTRAPTABLE-1657597","tags":["x_refsource_MISC","x_transferred","Exploit","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23472","tags":["advisory"]},{"url":"https://github.com/wenzhixin/bootstrap-table","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.02409,"epssPercentile":0.84419,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-23472","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23472","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-23472","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-mw6q-98mp-g8g8","ok":true,"note":"GHSA-mw6q-98mp-g8g8"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-23472","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}