{"id":"GHSA-w4v7-hwx7-9929","revision":"ac1e923bffa74dfbb34992d511d7ceae","records":[{"revision":"ac1e923bffa74dfbb34992d511d7ceae","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-w4v7-hwx7-9929","aliases":["CVE-2021-23784","SNYK-JS-TEMPURA-1569633"],"title":"Cross-site Scripting in tempura","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.","state":0,"publishedAt":"2021-11-08T17:50:10+00:00","modifiedAt":"2026-07-08T06:50:00.1991646+00:00","affected":[{"ecosystem":"npm","name":"tempura","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.4.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2021-23784","https://github.com/lukeed/tempura/commit/58a5c3671e2f36b26810e77ead9e0dd471902f9b","https://github.com/lukeed/tempura","https://github.com/lukeed/tempura/releases/tag/v0.4.0","https://snyk.io/vuln/SNYK-JS-TEMPURA-1569633"],"sourceUrl":"https://github.com/advisories/GHSA-w4v7-hwx7-9929","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-w4v7-hwx7-9929","identifiers":["GHSA-w4v7-hwx7-9929","CVE-2021-23784","SNYK-JS-TEMPURA-1569633"]},"retained":false,"historicalAffected":[]}],"coverage":[]}