CVEvulnerability
CVE-2021-23784
6.1 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2021-11-03
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 5.4 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
- CVSS 3.1 ([email protected])
- 6.1 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- CVSS 2.0 ([email protected])
- 4.3 MEDIUM — AV:N/AC:M/Au:N/C:N/I:P/A:N
- Weaknesses
- CWE-79
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.
Affected configurations
• tempura project tempura (< 0.4.0)
Related
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- 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