Medium, CVSS 6.1npmAmendedPublished
Cross-site Scripting in tempura
CVE-2021-23784 · GHSA-w4v7-hwx7-9929
- Affected
- npm tempura < 0.4.0
- Fixed in
- 0.4.0· Vendor fix available
- Issue
- 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.
Recommended action: Upgrade to 0.4.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.