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
Published
2021-11-03T18:15:08Z
Modified
2026-10-20T10:54:33Z
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
Show details
{
    "extracted_events": [
        {
            "cpe": "cpe:2.3:a:tempura_project:tempura:*:*:*:*:*:*:*:*",
            "range": [
                {
                    "introduced": "0"
                },
                {
                    "fixed": "0.4.0"
                }
            ],
            "source": "CPE_RANGE"
        },
        {
            "range": [
                {
                    "fixed": "58a5c3671e2f36b26810e77ead9e0dd471902f9b"
                }
            ],
            "source": "REFERENCES_COMMIT"
        },
        {
            "original_tag": "v0.4.0",
            "range": [
                {
                    "fixed": "86c7bd4d4f9b03c6191debdf44d4b3e9c4b7efff"
                }
            ],
            "source": "REFERENCES_TAG"
        }
    ]
}

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"