{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-23398","published":"2021-06-24T15:15:08.210000Z","last_modified":"2026-06-17T03:38:41.373000Z","status":"Modified","cvss":{"version":"3.1","score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:react-bootstrap-table_project:react-bootstrap-table:-:*:*:*:*:*:*:*","part":"a","vendor":"react-bootstrap-table_project","product":"react-bootstrap-table"}],"cpes_truncated":false,"vendors":["react-bootstrap-table_project"],"products":["react-bootstrap-table_project/react-bootstrap-table"],"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-2589-w6xf-983r","ecosystem":"npm","name":"react-bootstrap-table","purl":"pkg:npm/react-bootstrap-table","ranges":[{"introduced":"0","last_affected":"4.3.1"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":52,"links":{"html_es":"/es/cve/CVE-2021-23398/","html_en":"/en/cve/CVE-2021-23398/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-23398","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-23398"},"untrusted":{"vendor_name":"React-bootstrap-table Project","product_name":"React-bootstrap-table","desc_en":"All versions of package react-bootstrap-table are vulnerable to Cross-site Scripting (XSS) via the dataFormat parameter. The problem is triggered when an invalid React element is returned, leading to dangerouslySetInnerHTML being used, which does not sanitize the output.","affected":[],"references":[{"url":"https://github.com/AllenFang/react-bootstrap-table/blob/26d07defab759e4f9bce22d1d568690830b8d9d7/src/TableBody.js%23L114-L118","tags":["Broken Link"]},{"url":"https://github.com/AllenFang/react-bootstrap-table/issues/2071","tags":["Exploit","Third Party Advisory"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1314286","tags":["Exploit","Third Party Advisory"]},{"url":"https://snyk.io/vuln/SNYK-JS-REACTBOOTSTRAPTABLE-1314285","tags":["Exploit","Third Party Advisory"]}]}}