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.
References
Link Resource
https://github.com/lukeed/tempura/commit/58a5c3671e2f36b26810e77ead9e0dd471902f9b Patch Third Party Advisory
https://github.com/lukeed/tempura/releases/tag/v0.4.0 Release Notes Third Party Advisory
https://snyk.io/vuln/SNYK-JS-TEMPURA-1569633 Exploit Mitigation Patch Third Party Advisory VDB Entry
History

No history.

cve-icon MITRE Information

Status: PUBLISHED

Assigner: snyk

Published: 2021-11-03T00:00:00

Updated: 2021-11-03T17:20:42

Reserved: 2021-01-08T00:00:00


Link: CVE-2021-23784

JSON object: View

cve-icon NVD Information

Status : Analyzed

Published: 2021-11-03T18:15:08.180

Modified: 2021-11-05T18:11:35.357


Link: CVE-2021-23784

JSON object: View

cve-icon Redhat Information

No data.

CWE