原始 OSV JSON
{
"id": "GHSA-4f6x-49g2-99fm",
"aliases": [
"CVE-2021-35513"
],
"details": "Mermaid before 8.11.0 allows XSS when the antiscript feature is used.",
"summary": "Cross-site Scripting in Mermaid",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "8.11.0"
}
]
}
],
"package": {
"name": "mermaid",
"ecosystem": "npm"
}
}
],
"modified": "2021-07-02T16:59:18Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
}
],
"published": "2021-12-10T18:57:41Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-35513",
"type": "ADVISORY"
},
{
"url": "https://github.com/mermaid-js/mermaid/issues/2122",
"type": "WEB"
},
{
"url": "https://github.com/mermaid-js/mermaid/pull/2123",
"type": "WEB"
},
{
"url": "https://github.com/mermaid-js/mermaid/pull/2123/commits/3d22fa5d2435de5acc18de6f88474a6e8675a60e",
"type": "WEB"
},
{
"url": "https://github.com/mermaid-js/mermaid/releases/tag/8.11.0-rc2",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2021-06-27T12:15:00Z",
"github_reviewed_at": "2021-06-28T18:34:26Z"
}
}