原始 OSV JSON{
"id": "GHSA-rjqq-98f6-6j3r",
"aliases": [
"CVE-2021-26539"
],
"details": "Apostrophe Technologies sanitize-html before 2.3.1 does not properly handle internationalized domain name (IDN) which could allow an attacker to bypass hostname whitelist validation set by the \"allowedIframeHostnames\" option.",
"summary": "Improper Input Validation in sanitize-html",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.3.1"
}
]
}
],
"package": {
"name": "sanitize-html",
"ecosystem": "npm"
}
}
],
"modified": "2022-04-27T19:14:02Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
}
],
"published": "2021-05-06T16:10:05Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-26539",
"type": "ADVISORY"
},
{
"url": "https://github.com/apostrophecms/sanitize-html/pull/458",
"type": "WEB"
},
{
"url": "https://github.com/apostrophecms/sanitize-html/commit/bdf7836ef8f0e5b21f9a1aab0623ae8fcd09c1da",
"type": "WEB"
},
{
"url": "https://advisory.checkmarx.net/advisory/CX-2021-4308",
"type": "WEB"
},
{
"url": "https://github.com/apostrophecms/sanitize-html",
"type": "PACKAGE"
},
{
"url": "https://github.com/apostrophecms/sanitize-html/blob/main/CHANGELOG.md#231-2021-01-22",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-20"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2021-02-08T17:15:00Z",
"github_reviewed_at": "2021-03-29T23:13:26Z"
}
}