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
Could your website be exposed too?
SmartScanner can check your website for Cross-site Scripting in tempura and gives you actionable findings to investigate.
Start a free scanRelated Issues
- Joplin Cross Site Scripting Vulnerability via NOSCRIPT tags - CVE-2021-33295
- @claviska/jquery-minicolors vulnerable to Cross-site Scripting - CVE-2021-32850
- Cross-site Scripting in sanitize-url - CVE-2021-23648
- ckeditor4 vulnerable to cross-site scripting - CVE-2021-33829


