Live threats

All CVEs / Tempura Project

CVE-2021-23784Tempura Project Tempura

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
1.3%
probability of exploitation in 30 days · percentile 70
Auth required
No
Published
Nov 3, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Tempura.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm tempura < 0.4.0 0.4.0 npm install tempura@0.4.0

Per OSV / GitHub Advisories (GHSA-w4v7-hwx7-9929). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
tempura_projecttempura< 0.4.0

Official sources

References

Links published by the sources. Open them with care.