{"id":"CVE-2021-23784","aliases":["GHSA-w4v7-hwx7-9929","SNYK-JS-TEMPURA-1569633"],"url":"https://o3.security/vulnerability/CVE-2021-23784","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.","published":"2021-11-03T18:15:08.180Z","modified":"2026-07-09T14:43:56.707346Z","cvss":{"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"},"epss":null,"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"npm","name":"tempura","fixedVersion":"0.4.0"}],"fix":{"url":"https://github.com/lukeed/tempura/commit/58a5c3671e2f36b26810e77ead9e0dd471902f9b","label":"lukeed/tempura@58a5c36"},"references":[{"type":"ADVISORY","url":"https://github.com/lukeed/tempura/releases/tag/v0.4.0"},{"type":"FIX","url":"https://github.com/lukeed/tempura/commit/58a5c3671e2f36b26810e77ead9e0dd471902f9b"},{"type":"FIX","url":"https://snyk.io/vuln/SNYK-JS-TEMPURA-1569633"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-09T14:43:56.707346Z"}}