{"id":"GHSA-w4v7-hwx7-9929","summary":"Cross-site Scripting in tempura","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.","aliases":["CVE-2021-23784","SNYK-JS-TEMPURA-1569633"],"modified":"2026-07-08T06:50:00.199164554Z","published":"2021-11-08T17:50:10Z","database_specific":{"nvd_published_at":"2021-11-03T18:15:00Z","cwe_ids":["CWE-79"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2021-11-04T16:59:09Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23784"},{"type":"WEB","url":"https://github.com/lukeed/tempura/commit/58a5c3671e2f36b26810e77ead9e0dd471902f9b"},{"type":"PACKAGE","url":"https://github.com/lukeed/tempura"},{"type":"WEB","url":"https://github.com/lukeed/tempura/releases/tag/v0.4.0"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-TEMPURA-1569633"}],"affected":[{"package":{"name":"tempura","ecosystem":"npm","purl":"pkg:npm/tempura"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.4.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/11/GHSA-w4v7-hwx7-9929/GHSA-w4v7-hwx7-9929.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}