Description
This affects the package tempura before 0.4.0. If the input to the esc function is of type object (i.e an array) it is returned without being escaped/sanitized, leading to a potential Cross-Site Scripting vulnerability.
Recommendation
Update the tempura package to the latest compatible version. Followings are version details:
- Affected version(s): < 0.4.0
- Patched version(s): 0.4.0
References
Related Issues
- Cross-site Scripting in sanitize-url - CVE-2021-23648
- Cross site scripting in datatables.net - CVE-2021-23445
- Docsify vulnerable to cross-site scripting due to mishandled encoding - CVE-2021-30074
- Cross-site Scripting in bootstrap-table - bootstrap-table - CVE-2021-23472
You might also like:
- Tags:
- npm
- tempura
Anything's wrong? Let us know Last updated on February 01, 2023


