GitHub Advisoryadvisory · npm

GHSA-5f38-9jw2-6r6h Cross-site Scripting in teddy

MEDIUM Published 2021-10-12 Modified 2022-05-04 Official page ↗
Aliases
CVE-2021-23447
Ecosystem
npm
Packages
teddy
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Weaknesses
CWE-79, CWE-843
Reviewed
2021-10-08

Affected packages

• npm teddy: < 0.5.9 → fixed in 0.5.9

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).

Related

Alias · CVE (1)

  • CVE-2021-23447 This affects the package teddy before 0.5.9. vulnerability

Weakness · CWE (2)

  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness
  • CWE-843 Access of Resource Using Incompatible Type weakness

References