{"id":"GHSA-5f38-9jw2-6r6h","revision":"d84e9d2cbf3b49f991197bc0dce0b62f","records":[{"revision":"d84e9d2cbf3b49f991197bc0dce0b62f","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-5f38-9jw2-6r6h","aliases":["CVE-2021-23447","SNYK-JS-TEDDY-1579557"],"title":"Cross-site Scripting in teddy","description":"Teddy is a readable and easy to learn templating language. This affects the package teddy before 0.5.9. A type confusion vulnerability can be used to bypass input sanitization when the model content is an array (instead of a string).","state":0,"publishedAt":"2021-10-12T16:22:04+00:00","modifiedAt":"2026-07-08T06:49:51.5840106+00:00","affected":[{"ecosystem":"npm","name":"teddy","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.5.9"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/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-23447","https://github.com/rooseveltframework/teddy/pull/518","https://github.com/rooseveltframework/teddy/commit/64c556717b4879bf8d4c30067cf6e70d899a3dc0","https://github.com/rooseveltframework/teddy","https://github.com/rooseveltframework/teddy/releases/tag/0.5.9","https://snyk.io/vuln/SNYK-JS-TEDDY-1579557"],"sourceUrl":"https://github.com/advisories/GHSA-5f38-9jw2-6r6h","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-5f38-9jw2-6r6h","identifiers":["GHSA-5f38-9jw2-6r6h","CVE-2021-23447","SNYK-JS-TEDDY-1579557"]},"retained":false,"historicalAffected":[]}],"coverage":[]}