What’s Vulnerable › Vulnerabilities

CVE-2021-23784: Cross-site Scripting (XSS)

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.

Affected products

How to fix

Upgrade to a fixed version: tempura 0.4.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-23784 or the next vulnerability affects your stack