CVE-2021-23784

Source
https://cve.org/CVERecord?id=CVE-2021-23784
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-23784.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-23784
Aliases
Related
  • SNYK-JS-TEMPURA-1569633
Published
2021-11-03T18:15:08.180Z
Modified
2026-04-02T06:47:32.008291Z
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
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "fixed": "0.4.0"
        }
    ]
}

Affected versions

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

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-23784.json"