Vulnerability · Published Nov 3, 2021 · Assigned by snyk

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

Medium 5.4

In plain English

A medium-severity security flaw in tempura. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.3% (higher than 70% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.4Medium
Exploit odds (30 days)1.3%top 30.3% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
npmtempura0.4.0GHSA-w4v7-hwx7-9929

Affected products (as reported)

VendorProductVersions
n/a tempura unspecified – before 0.4.0

References