{"id":"CVE-2021-23398","published":"2021-06-24T15:00:12Z","modified":"2024-09-17T00:46:54Z","title":"Cross-site Scripting (XSS)","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N/E:P","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01341,"percentile":0.71218,"provenance":"source"},"cwes":[],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-REACTBOOTSTRAPTABLE-1314285","tags":["x_refsource_MISC"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1314286","tags":["x_refsource_MISC"]},{"url":"https://github.com/AllenFang/react-bootstrap-table/blob/26d07defab759e4f9bce22d1d568690830b8d9d7/src/TableBody.js%23L114-L118","tags":["x_refsource_MISC"]},{"url":"https://github.com/AllenFang/react-bootstrap-table/issues/2071","tags":["x_refsource_MISC"]}],"priority":{"score":18.5,"factors":[{"name":"EPSS percentile","points":14.24},{"name":"CVSS severity","points":4.27}]},"affectedVersions":[{"vendor":"n/a","product":"react-bootstrap-table","versions":["< unspecified"]}],"affected":[{"ecosystem":"npm","package":"react-bootstrap-table","vulnerableRanges":["<=4.3.1"],"patched":[],"from":["GHSA-2589-w6xf-983r"],"provenance":"source"}],"euvd":{"id":"EUVD-2021-2417","exploited":false,"provenance":"source"}}