PT-2021-15551 · Tempura · Tempura

Alessio Della Libera

·

Published

2021-11-03

·

Updated

2021-11-08

·

CVE-2021-23784

CVSS v3.1

6.1

Medium

VectorAV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions: tempura versions prior to 0.4.0
Description: The issue arises when the input to the esc function is of type object, such as an array, and it is returned without being escaped or sanitized. This leads to a potential Cross-Site Scripting issue.
Recommendations: For versions prior to 0.4.0, update to version 0.4.0 or later to resolve the issue. As a temporary workaround, consider modifying the esc function to properly escape or sanitize object inputs, such as arrays, to prevent potential Cross-Site Scripting exploitation.

Exploit

Fix

XSS

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2021-23784
GHSA-W4V7-HWX7-9929
SNYK-JS-TEMPURA-1569633

Affected Products

Tempura