CVE-2021-23398
Summary
| CVE | CVE-2021-23398 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2021-06-24 15:15:00 UTC |
| Updated | 2021-06-30 20:20:00 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-79
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | React-bootstrap-table Project | React-bootstrap-table | - | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| N/A | CONFIRM | github.com | |
| XSS when using dataFormat function · Issue #2071 · AllenFang/react-bootstrap-table · GitHub | CONFIRM | github.com | |
| Cross-site Scripting (XSS) in org.webjars.npm:react-bootstrap-table | Snyk | CONFIRM | snyk.io | |
| Cross-site Scripting (XSS) in react-bootstrap-table | Snyk | CONFIRM | snyk.io | |
| react-bootstrap-table/TableBody.js at 26d07defab759e4f9bce22d1d568690830b8d9d7 · AllenFang/react-bootstrap-table · GitHub | MITRE | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
LEGACY: Michael Rodov
There are currently no legacy QID mappings associated with this CVE.