GitHub Advisory Database
GHSA-w4v7-hwx7-9929
Cross-site Scripting in tempura
Details
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 packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | tempura | All versions before 0.4.0 (fixed in 0.4.0) |