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.
Metrics
CVSS 3.1 6.1/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | tempura | >= unspecified, < 0.4.0 |
References
- https://github.com/lukeed/tempura/commit/58a5c3671e2f36b26810e77ead9e0dd471902f9bPatch, Third Party Advisory
- https://github.com/lukeed/tempura/releases/tag/v0.4.0Release Notes, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-TEMPURA-1569633Exploit, Mitigation, Patch, Third Party Advisory, VDB Entry
- https://github.com/lukeed/tempura/commit/58a5c3671e2f36b26810e77ead9e0dd471902f9bPatch, Third Party Advisory
- https://github.com/lukeed/tempura/releases/tag/v0.4.0Release Notes, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-TEMPURA-1569633Exploit, Mitigation, Patch, Third Party Advisory, VDB Entry
Timeline
- Published
- Nov 3, 2021
- Last modified
- Jun 17, 2026
- NVD status
- Modified