PT-2021-15531 · Teddy · Teddy

Alessio Della Libera

·

Published

2021-10-07

·

Updated

2022-05-03

·

CVE-2021-23447

CVSS v3.1

6.1

Medium

VectorAV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions teddy versions prior to 0.5.9
Description A type confusion issue can be exploited to bypass input sanitization when the model content is an array instead of a string. This is related to the teddy package, which is a readable and easy to learn templating language.
Recommendations For versions prior to 0.5.9, update to version 0.5.9 or later to resolve the issue. As a temporary workaround, consider restricting the model content to strings to minimize the risk of exploitation.

Exploit

Fix

Type Confusion

XSS

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2021-23447
GHSA-5F38-9JW2-6R6H
SNYK-JS-TEDDY-1579557

Affected Products

Teddy