Moderate severityNVD Advisory· Published Nov 3, 2021· Updated Sep 17, 2024
Cross-site Scripting (XSS)
CVE-2021-23784
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
tempuranpm | < 0.4.0 | 0.4.0 |
Affected products
2- tempura/tempuradescription
Patches
Vulnerability mechanics
Generated on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
5- github.com/advisories/GHSA-w4v7-hwx7-9929ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-23784ghsaADVISORY
- github.com/lukeed/tempura/commit/58a5c3671e2f36b26810e77ead9e0dd471902f9bghsax_refsource_MISCWEB
- github.com/lukeed/tempura/releases/tag/v0.4.0ghsax_refsource_MISCWEB
- snyk.io/vuln/SNYK-JS-TEMPURA-1569633ghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.