CVE-2021-23784

Cross-site Scripting (XSS)

MEDIUM
6.1
CVSS Score
Published: November 3, 2021 at 05:20 PM UTC
Updated: June 17, 2026 at 03:38 AM UTC
1 product affected across 1 vendorTempura

Using tempura by N/A?

Get instant alerts when new vulnerabilities affect tempura - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM6.1
Exploit prediction
EPSS 1%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 0.4.0
Affected range stops below 0.4.0, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (3)

x_refsource_MISCRelease NotesThird Party Advisory
https://github.com/lukeed/tempura/releases/tag/v0.4.0
x_refsource_MISCExploitMitigationPatchThird Party AdvisoryVDB Entry
https://snyk.io/vuln/SNYK-JS-TEMPURA-1569633

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-79

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card