NetSight
medium6.1

CVE-2021-23398

Cross-site scripting in react-bootstrap-table

Impact

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 packages

EcosystemPackageAffectedFixed in
npmreact-bootstrap-table<= 4.3.1none recorded

Affected products

VendorProductAffected versions
React-Bootstrap-Table ProjectReact-Bootstrap-Table
All versions

Weakness classification

References