Cross-site scripting in react-bootstrap-table
Moderate severity
GitHub Reviewed
Published
Dec 10, 2021
to the GitHub Advisory Database
•
Updated Feb 1, 2023
Description
Published by the National Vulnerability Database
Jun 24, 2021
Reviewed
Jun 25, 2021
Published to the GitHub Advisory Database
Dec 10, 2021
Last updated
Feb 1, 2023
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.
References