CVE-2021-23784

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
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
Configurations

Configuration 1 (hide)

cpe:2.3:a:tempura_project:tempura:*:*:*:*:*:*:*:*

History

21 Nov 2024, 05:51

Type Values Removed Values Added
References () https://github.com/lukeed/tempura/commit/58a5c3671e2f36b26810e77ead9e0dd471902f9b - Patch, Third Party Advisory () https://github.com/lukeed/tempura/commit/58a5c3671e2f36b26810e77ead9e0dd471902f9b - Patch, Third Party Advisory
References () https://github.com/lukeed/tempura/releases/tag/v0.4.0 - Release Notes, Third Party Advisory () https://github.com/lukeed/tempura/releases/tag/v0.4.0 - Release Notes, Third Party Advisory
References () https://snyk.io/vuln/SNYK-JS-TEMPURA-1569633 - Exploit, Mitigation, Patch, Third Party Advisory, VDB Entry () https://snyk.io/vuln/SNYK-JS-TEMPURA-1569633 - Exploit, Mitigation, Patch, Third Party Advisory, VDB Entry
CVSS v2 : 4.3
v3 : 6.1
v2 : 4.3
v3 : 5.4

Information

Published : 2021-11-03 18:15

Updated : 2024-11-21 05:51


NVD link : CVE-2021-23784

Mitre link : CVE-2021-23784

CVE.ORG link : CVE-2021-23784


JSON object : View

Products Affected

tempura_project

  • tempura
CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')