原始 OSV JSON{
"id": "GHSA-5f38-9jw2-6r6h",
"aliases": [
"CVE-2021-23447"
],
"details": "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).",
"summary": "Cross-site Scripting in teddy",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.5.9"
}
]
}
],
"package": {
"name": "teddy",
"ecosystem": "npm"
}
}
],
"modified": "2022-05-04T03:42:48Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N"
}
],
"published": "2021-10-12T16:22:04Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-23447",
"type": "ADVISORY"
},
{
"url": "https://github.com/rooseveltframework/teddy/pull/518",
"type": "WEB"
},
{
"url": "https://github.com/rooseveltframework/teddy/commit/64c556717b4879bf8d4c30067cf6e70d899a3dc0",
"type": "WEB"
},
{
"url": "https://github.com/rooseveltframework/teddy",
"type": "PACKAGE"
},
{
"url": "https://github.com/rooseveltframework/teddy/releases/tag/0.5.9",
"type": "WEB"
},
{
"url": "https://snyk.io/vuln/SNYK-JS-TEDDY-1579557",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-79",
"CWE-843"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2021-10-07T17:15:00Z",
"github_reviewed_at": "2021-10-08T21:52:26Z"
}
}