{"id":"CVE-2021-23447","published":"2021-10-07T16:40:12Z","modified":"2024-09-16T22:20:45Z","title":"Cross-site Scripting (XSS)","vendor":null,"product":null,"tier":"tail","description":{"text":"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).","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01128,"percentile":0.67138,"provenance":"source"},"cwes":[],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-TEDDY-1579557","tags":["x_refsource_MISC"]},{"url":"https://github.com/rooseveltframework/teddy/pull/518","tags":["x_refsource_MISC"]},{"url":"https://github.com/rooseveltframework/teddy/releases/tag/0.5.9","tags":["x_refsource_MISC"]}],"priority":{"score":17.2,"factors":[{"name":"EPSS percentile","points":13.43},{"name":"CVSS severity","points":3.78}]},"affectedVersions":[{"vendor":"n/a","product":"teddy","versions":[">= unspecified, < 0.5.9"]}],"affected":[{"ecosystem":"npm","package":"teddy","vulnerableRanges":["<0.5.9"],"patched":["0.5.9"],"from":["GHSA-5f38-9jw2-6r6h"],"provenance":"source"}],"summary":{"text":"The flaw is a type confusion vulnerability in the teddy package (versions before 0.5.9) that lets input sanitization be bypassed. It arises when model content is supplied as an array rather than a string, enabling cross-site scripting. An unauthenticated remote attacker can exploit this over the network with low complexity, but it requires a user to interact with the crafted content, such as by viewing the affected page.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:06:34Z"},"euvd":{"id":"EUVD-2021-2159","exploited":false,"provenance":"source"}}