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 |
Configurations
History
No history.
Information
Published : 2021-11-03 18:15
Updated : 2021-11-05 18:11
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')