{"cve":"CVE-2021-23398","nvd":{"published":"2021-06-24T15:15:08.210","modified":"2026-06-17T03:38:41.373","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"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},"cwes":["CWE-79"],"references":["https://github.com/AllenFang/react-bootstrap-table/blob/26d07defab759e4f9bce22d1d568690830b8d9d7/src/TableBody.js%23L114-L118","https://github.com/AllenFang/react-bootstrap-table/issues/2071","https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1314286","https://snyk.io/vuln/SNYK-JS-REACTBOOTSTRAPTABLE-1314285","https://github.com/AllenFang/react-bootstrap-table/blob/26d07defab759e4f9bce22d1d568690830b8d9d7/src/TableBody.js%23L114-L118"],"products":["react-bootstrap-table_project:react-bootstrap-table"],"source":"nvd","synced_at":"2026-10-19T21:20:07.141963181+00:00"},"epss":{"cve":"CVE-2021-23398","score":0.01341,"percentile":0.71331,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-2589-w6xf-983r","url":"https://osv.dev/vulnerability/GHSA-2589-w6xf-983r","summary":"Cross-site scripting in react-bootstrap-table","modified":"2023-11-08T04:05:07.329507Z","packages":[{"ecosystem":"npm","name":"react-bootstrap-table","purl":"pkg:npm/react-bootstrap-table","ranges":["<=4.3.1"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}