CVE-2021-26539 Improper Input Validation in sanitize-html
MediumCVSS 5.3
EPSS 2.0%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- Debian
Description
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| apostrophecms sanitize-html | < 2.3.1 | 2.3.1 | Fixed |
| npm sanitize-html(npm) | < 2.3.1 | 2.3.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm sanitize-html(npm) | < 2.3.1 | 2.3.1 |
| apostrophecms sanitize-html | < 2.3.1 | 2.3.1 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch third-party-advisory
- advisory.checkmarx.net exploit third-party-advisory
- github.com release-notes third-party-advisory
- github.com patch
- github.com
- Debian Security Tracker CVE-2021-26539 vendor-advisory
- github.com product