ghsa-rjqq-98f6-6j3r
Vulnerability from github
Published
2021-05-06 16:10
Modified
2022-04-27 19:14
Severity ?
Summary
Improper Input Validation in sanitize-html
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.
{ "affected": [ { "package": { "ecosystem": "npm", "name": "sanitize-html" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "2.3.1" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2021-26539" ], "database_specific": { "cwe_ids": [ "CWE-20" ], "github_reviewed": true, "github_reviewed_at": "2021-03-29T23:13:26Z", "nvd_published_at": "2021-02-08T17:15:00Z", "severity": "MODERATE" }, "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.", "id": "GHSA-rjqq-98f6-6j3r", "modified": "2022-04-27T19:14:02Z", "published": "2021-05-06T16:10:05Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-26539" }, { "type": "WEB", "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": "PACKAGE", "url": "https://github.com/apostrophecms/sanitize-html" }, { "type": "WEB", "url": "https://github.com/apostrophecms/sanitize-html/blob/main/CHANGELOG.md#231-2021-01-22" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N", "type": "CVSS_V3" } ], "summary": "Improper Input Validation in sanitize-html" }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.