Cross-site scripting (XSS) in tempura
Priority LOW 30CWE-79Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-79.
Summary
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.
Why it matters now
EPSS 0.0126 69th percentileScored 2026-11-07
Fix Fixed tempura: 0.4.0tempura (npm): 0.4.0
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | tempura | before 0.4.0 | 0.4.0 | Patch available | CNA |
| — | tempura (npm) | before 0.4.0 | 0.4.0 | Patch available | GHSA-w4v7-hwx7-9929 |
- tempura Vendor— Affected before 0.4.0 Fixed in 0.4.0 Patch available CNA
- tempura (npm) Vendor— Affected before 0.4.0 Fixed in 0.4.0 Patch available GHSA-w4v7-hwx7-9929
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:tempura_project:tempura:*:*:*:*:*:*:*:* | before 0.4.0 | Vulnerable | Tempura Project |
- cpe:2.3:a:tempura_project:tempura:*:*:*:*:*:*:*:* Versions before 0.4.0 Vulnerable ·Tempura Project
Remediation
- Fix · CNA tempura Fixed in 0.4.0
- Fix · GHSA-w4v7-hwx7-9929 tempura (npm) Fixed in 0.4.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2021-23784
- 2026-10-03 Alias added: GHSA-w4v7-hwx7-9929
References
Sources
- CVE-2021-23784 · CVE Program
- CVE-2021-23784 · NVD
- FIRST EPSS
- GHSA-w4v7-hwx7-9929 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences