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).
{
"extracted_events": [
{
"cpe": "cpe:2.3:a:teddy_project:teddy:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "0.5.9"
}
],
"source": "CPE_RANGE"
},
{
"original_tag": "0.5.9",
"range": [
{
"fixed": "5542c43316e441485cd51da739147e5e89866729"
}
],
"source": "REFERENCES_TAG"
}
]
}