Advisory

GHSA-2589-w6xf-983r

Also known as: CVE-2021-23398

Summary

Cross-site scripting in react-bootstrap-table

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-12-10 18:58 UTC
Modified
2023-11-08 04:05 UTC

Affected packages and fixes

react-bootstrap-table

npm · All systems

Affected

  • introduced 0, last affected 4.3.1 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences