CVE-2021-23784 Detail

Current 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.

View Analysis Description

Analysis 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.

Severity

CVSS 3.x Severity and Metrics:

CVSS 2.0 Severity and Metrics:

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to [email protected].

Weakness Enumeration

CWE-ID CWE Name Source
CWE-79 Improper Neutralization of Input During Web Page Generation (‘Cross-site Scripting’) NIST  

Change History

1 change records found show changes

Initial Analysis 11/05/2021 2:11:35 PM

Action Type Old Value New Value
Added CPE Configuration
OR
     *cpe:2.3:a:tempura_project:tempura:*:*:*:*:*:*:*:* versions up to (excluding) 0.4.0
Added CVSS V2
NIST (AV:N/AC:M/Au:N/C:N/I:P/A:N)
Added CVSS V2 Metadata
Victim must voluntarily interact with attack mechanism
Added CVSS V3.1
NIST AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Added CWE
NIST CWE-79
Changed Reference Type
https://github.com/lukeed/tempura/commit/58a5c3671e2f36b26810e77ead9e0dd471902f9b No Types Assigned
https://github.com/lukeed/tempura/commit/58a5c3671e2f36b26810e77ead9e0dd471902f9b Patch, Third Party Advisory
Changed Reference Type
https://github.com/lukeed/tempura/releases/tag/v0.4.0 No Types Assigned
https://github.com/lukeed/tempura/releases/tag/v0.4.0 Release Notes, Third Party Advisory
Changed Reference Type
https://snyk.io/vuln/SNYK-JS-TEMPURA-1569633 No Types Assigned
https://snyk.io/vuln/SNYK-JS-TEMPURA-1569633 Exploit, Mitigation, Patch, Third Party Advisory, VDB Entry

Quick Info

CVE Dictionary Entry:
CVE-2021-23784
NVD Published Date:
11/03/2021
NVD Last Modified:
11/05/2021
Source:
Snyk