CVE-2021-23784
Summary
| CVE | CVE-2021-23784 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2021-11-03 18:15:00 UTC |
| Updated | 2021-11-05 18:11:00 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-79
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Tempura Project | Tempura | All | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Release v0.4.0 · lukeed/tempura · GitHub | MISC | github.com | |
| break: ensure `esc` always returns a string; · lukeed/tempura@58a5c36 · GitHub | MISC | github.com | |
| Cross-site Scripting (XSS) in tempura | Snyk | MISC | snyk.io | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
LEGACY: Alessio Della Libera of Snyk Research Team
Legacy QID Mappings
- 980208 Nodejs (npm) Security Update for tempura (GHSA-w4v7-hwx7-9929)