Advisory

GHSA-rjqq-98f6-6j3r

Also known as: CVE-2021-26539

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-05-06 16:10 UTC
Modified
2023-11-08 04:05 UTC

Affected packages and fixes

sanitize-html

npm · All systems

Affected

  • introduced 0, fixed 2.3.1 (semver)

Fixed versions

2.3.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences