VDB
Sign up
MEDIUM6.1

GHSA-w4v7-hwx7-9929

Cross-site Scripting in tempura

Quick fix

GHSA-w4v7-hwx7-9929 — tempura: upgrade to the fixed version with the command below.

npm install tempura@0.4.0

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/tempura
Introduced in: 0Fixed in: 0.4.0
Fixnpm install tempura@0.4.0

References