GHSA-mjxr-4v3x-q3m4

    Dashboard / Vulnerabilities / GHSA-mjxr-4v3x-q3m4

    GHSA-mjxr-4v3x-q3m4

    Published: 6 May 2021Last Modified: 8 Nov 2023

    Summary: Improper Input Validation in sanitize-html

    Details: 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".

    Affected packages

    Package

    Name: sanitize-html

    Purl: pkg:npm/sanitize-html

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -2.3.2

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-mjxr-4v3x-q3m4 | CVE-DB