原始 OSV JSON
{
"id": "GHSA-6wj2-g87r-pm62",
"aliases": [
"CVE-2021-38186"
],
"details": "An issue was discovered in the comrak crate before 0.10.1 for Rust. It mishandles & characters, leading to XSS via &# HTML entities.",
"summary": "Cross-site Scripting in comrak",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.10.1"
}
]
}
],
"package": {
"name": "comrak",
"ecosystem": "crates.io"
}
}
],
"modified": "2021-08-18T21:33: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-08-25T20:55:43Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-38186",
"type": "ADVISORY"
},
{
"url": "https://github.com/kivikakk/comrak/commit/b72340cabe4749952530b4fb6b4fcc706bc973e5",
"type": "WEB"
},
{
"url": "https://github.com/kivikakk/comrak",
"type": "PACKAGE"
},
{
"url": "https://github.com/kivikakk/comrak/compare/0.10.0...0.10.1",
"type": "WEB"
},
{
"url": "https://github.com/kivikakk/comrak/releases/tag/0.10.1",
"type": "WEB"
},
{
"url": "https://rustsec.org/advisories/RUSTSEC-2021-0063.html",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2021-08-08T06:15:00Z",
"github_reviewed_at": "2021-08-18T21:33:18Z"
}
}