rooseveltframework/teddy · Security
Cross-site Scripting in teddy
- GHSA ID
- GHSA-5f38-9jw2-6r6h
- CVE ID
- CVE-2021-23447
- Severity
- medium
- Published
- Updated
- CVSS
- 5.4 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
- CVSS v3
- 5.4 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
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).
CWEs
- CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
- CWE-843 · Access of Resource Using Incompatible Type ('Type Confusion')
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-23447 ↗
- https://github.com/rooseveltframework/teddy/pull/518 ↗
- https://github.com/rooseveltframework/teddy/releases/tag/0.5.9 ↗
- https://snyk.io/vuln/SNYK-JS-TEDDY-1579557 ↗
- https://github.com/rooseveltframework/teddy/commit/64c556717b4879bf8d4c30067cf6e70d899a3dc0 ↗
- https://github.com/advisories/GHSA-5f38-9jw2-6r6h ↗