原始 OSV JSON{
"id": "GHSA-8j9v-h2vp-2hhv",
"aliases": [
"CVE-2020-26293"
],
"details": "### Impact\n\nIf you have explicitly allowed the `<style>` tag, an attacker could craft HTML that includes script after passing through the sanitizer. The default settings disallow the `<style>` tag so there is no risk if you have not explicitly allowed the `<style>` tag.\n\n### Patches\n\nThe problem has been fixed in version 5.0.372.\n\n### Workarounds\n\nRemove the `<style>` tag from the set of allowed tags.\n\n### For more information\n\nIf you have any questions or comments about this advisory open an issue in https://github.com/mganss/HtmlSanitizer\n\n### Credits\n\nThis issue was discovered by Michal Bentkowski of Securitum.",
"summary": "XSS in HtmlSanitizer",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "5.0.372"
}
]
}
],
"package": {
"name": "HtmlSanitizer",
"ecosystem": "NuGet"
}
}
],
"modified": "2021-01-07T22:32:04Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N"
}
],
"published": "2021-01-04T18:22:11Z",
"references": [
{
"url": "https://github.com/mganss/HtmlSanitizer/security/advisories/GHSA-8j9v-h2vp-2hhv",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2020-26293",
"type": "ADVISORY"
},
{
"url": "https://github.com/mganss/HtmlSanitizer/commit/a3a7602a44d4155d51ec0fbbedc2a49e9c7e2eb8",
"type": "WEB"
},
{
"url": "https://github.com/mganss/HtmlSanitizer/releases/tag/v5.0.372",
"type": "WEB"
},
{
"url": "https://www.nuget.org/packages/HtmlSanitizer",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-74",
"CWE-79"
],
"severity": "LOW",
"github_reviewed": true,
"nvd_published_at": "2021-01-04T19:15:00Z",
"github_reviewed_at": "2021-01-04T18:21:52Z"
}
}