GHSA-w4v7-hwx7-9929
Dashboard / Vulnerabilities / GHSA-w4v7-hwx7-9929
GHSA-w4v7-hwx7-9929
Published: 8 Nov 2021Last Modified: 8 Jul 2026
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.
References: https://nvd.nist.gov/vuln/detail/CVE-2021-23784, https://github.com/lukeed/tempura/commit/58a5c3671e2f36b26810e77ead9e0dd471902f9b, https://github.com/lukeed/tempura, https://github.com/lukeed/tempura/releases/tag/v0.4.0, https://snyk.io/vuln/SNYK-JS-TEMPURA-1569633
Affected packages
Package
Name: tempura
Purl: pkg:npm/tempura
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -0.4.0
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
