{"cve":"CVE-2021-23784","nvd":{"published":"2021-11-03T18:15:08.180","modified":"2026-06-17T03:38:52.943","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1},"cwes":["CWE-79"],"references":["https://github.com/lukeed/tempura/commit/58a5c3671e2f36b26810e77ead9e0dd471902f9b","https://github.com/lukeed/tempura/releases/tag/v0.4.0","https://snyk.io/vuln/SNYK-JS-TEMPURA-1569633","https://github.com/lukeed/tempura/commit/58a5c3671e2f36b26810e77ead9e0dd471902f9b","https://github.com/lukeed/tempura/releases/tag/v0.4.0"],"products":["tempura_project:tempura"],"source":"nvd","synced_at":"2026-10-19T21:24:39.218183596+00:00"},"epss":{"cve":"CVE-2021-23784","score":0.0126,"percentile":0.69605,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-w4v7-hwx7-9929","url":"https://osv.dev/vulnerability/GHSA-w4v7-hwx7-9929","summary":"Cross-site Scripting in tempura","modified":"2026-07-08T06:50:00.199164554Z","packages":[{"ecosystem":"npm","name":"tempura","purl":"pkg:npm/tempura","ranges":["<0.4.0"],"fixed":["0.4.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}