原始 OSV JSON{
"id": "GHSA-xmr7-v725-2jjr",
"aliases": [
"CVE-2021-27671"
],
"details": "An issue was discovered in the comrak crate before 0.9.1 for Rust. Cross site scripting (XSS) can occur because the protection mechanism for data: and javascript: URIs is case-sensitive, allowing (for example) Data: to be used in an attack.",
"summary": "Cross site scripting in comrak",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.9.1"
}
]
}
],
"package": {
"name": "comrak",
"ecosystem": "crates.io"
}
}
],
"modified": "2023-03-22T20:54:46Z",
"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:52:12Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-27671",
"type": "ADVISORY"
},
{
"url": "https://github.com/kivikakk/comrak/commit/b3efbb6e427bcd33bb14db45753ad4fd98e0f5bf",
"type": "WEB"
},
{
"url": "https://github.com/kivikakk/comrak",
"type": "PACKAGE"
},
{
"url": "https://github.com/kivikakk/comrak/releases/tag/0.9.1",
"type": "WEB"
},
{
"url": "https://rustsec.org/advisories/RUSTSEC-2021-0026.html",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": null,
"github_reviewed_at": "2021-08-19T17:34:25Z"
}
}