CVE-2021-26539
MEDIUM5.3EPSS 0.29%Improper Input Validation in sanitize-html
發布日:2021/5/6修改日:2023/11/8
描述
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.
受影響套件(1)
- npm/sanitize-htmlfrom 0, < 2.3.1
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
參考連結(6)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2021-26539
- PATCHhttps://github.com/apostrophecms/sanitize-html
- WEBhttps://advisory.checkmarx.net/advisory/CX-2021-4308
- WEBhttps://github.com/apostrophecms/sanitize-html/blob/main/CHANGELOG.md#231-2021-01-22
- WEBhttps://github.com/apostrophecms/sanitize-html/commit/bdf7836ef8f0e5b21f9a1aab0623ae8fcd09c1da
- WEBhttps://github.com/apostrophecms/sanitize-html/pull/458