MEDIUM5.4
GHSA-5f38-9jw2-6r6h
Cross-site Scripting in teddy
Quick fix
GHSA-5f38-9jw2-6r6h — teddy: upgrade to the fixed version with the command below.
npm install teddy@0.5.9Details
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).
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-23447[ADVISORY]
- https://github.com/rooseveltframework/teddy/pull/518[WEB]
- https://github.com/rooseveltframework/teddy/commit/64c556717b4879bf8d4c30067cf6e70d899a3dc0[WEB]
- https://github.com/rooseveltframework/teddy[PACKAGE]
- https://github.com/rooseveltframework/teddy/releases/tag/0.5.9[WEB]
- https://snyk.io/vuln/SNYK-JS-TEDDY-1579557[WEB]