Files
CVEs-PoC/2021/CVE-2021-23398.md
T
2024-06-18 02:51:15 +02:00

19 lines
860 B
Markdown

### [CVE-2021-23398](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23398)
![](https://img.shields.io/static/v1?label=Product&message=react-bootstrap-table&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3E%3D%200%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=Cross-site%20Scripting%20(XSS)&color=brighgreen)
### 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.
### POC
#### Reference
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1314286
- https://snyk.io/vuln/SNYK-JS-REACTBOOTSTRAPTABLE-1314285
#### Github
No PoCs found on GitHub currently.