QID 982673

QID 982673: Nodejs (npm) Security Update for sanitize-html (GHSA-mjxr-4v3x-q3m4)

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

Successful exploitation of this vulnerability may affect the confidentiality, integrity, and availability of the targeted user.

  • CVSS V3 rated as Medium - 5.3 severity.
  • CVSS V2 rated as Medium - 5 severity.
  • Solution
    Customers are advised to refer to GHSA-mjxr-4v3x-q3m4 for updates pertaining to this vulnerability.
    Vendor References

    CVEs related to QID 982673

    Software Advisories
    Advisory ID Software Component Link
    GHSA-mjxr-4v3x-q3m4 sanitize-html URL Logo github.com/advisories/GHSA-mjxr-4v3x-q3m4