{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-23784","published":"2021-11-03T18:15:08.180000Z","last_modified":"2026-06-17T03:38:52.943000Z","status":"Modified","cvss":{"version":"3.1","score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:tempura_project:tempura:*:*:*:*:*:*:*:*","part":"a","vendor":"tempura_project","product":"tempura","version_end_excluding":"0.4.0"}],"cpes_truncated":false,"vendors":["tempura_project"],"products":["tempura_project/tempura"],"epss":{"score":0.0126,"percentile":0.69661,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-w4v7-hwx7-9929","ecosystem":"npm","name":"tempura","purl":"pkg:npm/tempura","ranges":[{"introduced":"0","fixed":"0.4.0"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":52,"links":{"html_es":"/es/cve/CVE-2021-23784/","html_en":"/en/cve/CVE-2021-23784/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-23784","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-23784"},"untrusted":{"vendor_name":"Tempura Project","product_name":"Tempura","desc_en":"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.","affected":[],"references":[{"url":"https://github.com/lukeed/tempura/commit/58a5c3671e2f36b26810e77ead9e0dd471902f9b","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/lukeed/tempura/releases/tag/v0.4.0","tags":["Release Notes","Third Party Advisory"]},{"url":"https://snyk.io/vuln/SNYK-JS-TEMPURA-1569633","tags":["Exploit","Mitigation","Patch","Third Party Advisory","VDB Entry"]}]}}