Advisory

GHSA-w4v7-hwx7-9929

Also known as: CVE-2021-23784, SNYK-JS-TEMPURA-1569633

Summary

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-11-08 17:50 UTC
Modified
2026-07-08 06:50 UTC

Affected packages and fixes

tempura

npm · All systems

Affected

  • introduced 0, fixed 0.4.0 (semver)

Fixed versions

0.4.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences