CVE-2021-23784

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-23784
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-23784.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-23784
Aliases
Related
  • SNYK-JS-TEMPURA-1569633
Published
2021-11-03T18:15:08.180Z
Modified
2025-11-14T05:26:54.239620Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
[none]
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

Affected packages

Git / github.com/lukeed/tempura

Affected ranges

Type
GIT
Repo
https://github.com/lukeed/tempura
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed

Affected versions

v0.*

v0.1.0
v0.1.0-next.2
v0.2.0
v0.3.0
v0.3.1
v0.3.2