cve.bz

CVE-2021-23784

6.1 mediumEPSS 1.3%

Medium (6.1) in tempura project tempura. EPSS 1.3% chance of exploitation in the next 30 days. Fixed in tempura 0.4.0.

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.

Severity

CVSS 3.1

6.1 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS
1.3% chance of exploitation in the next 30 days; higher than 69% of CVEs (scores of 2026-10-31)
CWE
CWE-79
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-w4v7-hwx7-9929npmtempura<0.4.00.4.0

References

Check your stackJSON