CVE-2026-113650
CVE-2026-113650 · ApostropheCMS sanitize-html: unbounded recursion when re-sanitizing the fallback of a discarded iframe (stack overflow, nestingLimit not enforced)
Здесь приведены факты из открытых источников об уязвимостях. Перед обновлением ознакомьтесь с исходным сообщением.
ApostropheCMS is an open-source Node.js content management system. In sanitize-html 2.18.0, when an <iframe> is not allowed and disallowedTagsMode is 'discard' (the defaults), its raw-text content is re-sanitized by a recursive call to sanitizeHtml(text, options). The recursion has no bound and starts each nested call with a fresh state. This vulnerability is fixed in 2.18.1.
CVSS 5.3 · Средний · EPSS 0,4% · Есть исправление
- Опубликовано
- Обновлено
Стек: node
Затронутые продукты и версии
apostrophe
- Версии
- < 4.34.0: Затронуто
Нет опубликованного исправления
sanitize-html
- Версии
- >= 2.18.0, < 2.18.1: Затронуто
Нет опубликованного исправления
sanitize-html npm
- Затронутые диапазоны версий
- SEMVER: ≥ 2.18.0, < 2.18.1
Обновитесь до 2.18.1
Первоисточники
- https://github.com/apostrophecms/apostrophe/security/advisories/GHSA-c9rx-x947-fp3h
- https://github.com/apostrophecms/apostrophe/commit/06e4b377f3c360f9e89c32dccd7e505ad5ddf498
- https://github.com/apostrophecms/apostrophe/commit/40b989b1a9dd23d30029b8ce7668634265cfe5ea
- https://github.com/apostrophecms/apostrophe/releases/tag/sanitize-html@2.18.1
- https://nvd.nist.gov/vuln/detail/CVE-2026-113650