Description
Apostrophe Technologies sanitize-html before 2.3.2 does not properly validate the hostnames set by the "allowedIframeHostnames" option when the "allowIframeRelativeUrls" is set to true, which allows attackers to bypass hostname whitelist for iframe element, related using an src value that starts with "/\\example.com".
No analysis available yet.
Remediation
No remediation available yet.
Tracking
Sign in to view the affected projects.
Advisories
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2021-1141 | Apostrophe Technologies sanitize-html before 2.3.2 does not properly validate the hostnames set by the "allowedIframeHostnames" option when the "allowIframeRelativeUrls" is set to true, which allows attackers to bypass hostname whitelist for iframe element, related using an src value that starts with "/\\example.com". |
Github GHSA |
GHSA-mjxr-4v3x-q3m4 | Improper Input Validation in sanitize-html |
References
History
No history.
Status: PUBLISHED
Assigner: mitre
Published:
Updated: 2024-08-03T20:26:25.388Z
Reserved: 2021-02-01T00:00:00.000Z
Link: CVE-2021-26540
No data.
Status : Modified
Published: 2021-02-08T17:15:13.737
Modified: 2024-11-21T05:56:26.670
Link: CVE-2021-26540
OpenCVE Enrichment
No data.
Weaknesses
EUVD
Github GHSA