CVE-2026-113650 ApostropheCMS sanitize-html: unbounded recursion when re-sanitizing the fallback of a discarded iframe (stack overflow, nestingLimit not enforced)
MediumCVSS 5.3
EPSS 0.48%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
- Technology
- Red Hat
Description
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.
Upgrade path
19 packages: 1 fixed, 16 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat/cockpit-image-builder(Red Hat enterprise_linux 10) | All versions | No fix listed | No fix yet |
| redhat/costmanagement/costmanagement-ui-rhel10(Red Hat cost_management_on_premise 1) | All versions | No fix listed | No fix yet |
| redhat/devspaces/dashboard-rhel9(Red Hat openshift_devspaces 3) | All versions | No fix listed | No fix yet |
| redhat/multicluster-engine/console-mce-rhel9(Red Hat multicluster_engine) | All versions | No fix listed | No fix yet |
| redhat/openshift4/ose-agent-installer-ui-rhel9(Red Hat openshift 4) | All versions | No fix listed | No fix yet |
| redhat/openshift4/ose-console(Red Hat openshift 4) | All versions | No fix listed | No fix yet |
| redhat/openshift4/ose-console-rhel9(Red Hat openshift 4) | All versions | No fix listed | No fix yet |
| redhat/openshift5/ose-agent-installer-ui-rhel9(Red Hat openshift 5) | All versions | No fix listed | No fix yet |
| redhat/openshift5/ose-console-rhel9(Red Hat openshift 5) | All versions | No fix listed | No fix yet |
| redhat/prometheus3.5(Red Hat hummingbird 1) | All versions | No fix listed | No fix yet |
| redhat/quay/quay-rhel9(Red Hat quay 3) | All versions | No fix listed | No fix yet |
| redhat/rhacm2/console-rhel9(Red Hat acm 2) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-mlflow-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/satellite/iop-advisor-frontend-rhel9(Red Hat satellite 6) | All versions | No fix listed | No fix yet |
| redhat/satellite/iop-host-inventory-frontend-rhel9(Red Hat satellite 6) | All versions | No fix listed | No fix yet |
| redhat/satellite/iop-vulnerability-frontend-rhel9(Red Hat satellite 6) | All versions | No fix listed | No fix yet |
| npm sanitize-html(npm) | >= 2.18.0, < 2.18.1 | 2.18.1 | Fixed |
| apostrophecms apostrophe | = < 4.34.0 | No fix listed | Versions listed |
| apostrophecms sanitize-html | = >= 2.18.0, < 2.18.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| apostrophecms apostrophe | = < 4.34.0 | No fix listed |
| apostrophecms sanitize-html | = >= 2.18.0, < 2.18.1 | No fix listed |
| redhat/costmanagement/costmanagement-ui-rhel10(Red Hat:cost_management_on_premise:1) | All versions | No fix listed |
| redhat/multicluster-engine/console-mce-rhel9(Red Hat:multicluster_engine) | All versions | No fix listed |
| redhat/rhacm2/console-rhel9(Red Hat:acm:2) | All versions | No fix listed |
| redhat/cockpit-image-builder(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| redhat/prometheus3.5(Red Hat:hummingbird:1) | All versions | No fix listed |
| redhat/rhoai/odh-mlflow-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/openshift4/ose-agent-installer-ui-rhel9(Red Hat:openshift:4) | All versions | No fix listed |
| redhat/openshift4/ose-console(Red Hat:openshift:4) | All versions | No fix listed |
| redhat/openshift4/ose-console-rhel9(Red Hat:openshift:4) | All versions | No fix listed |
| redhat/openshift5/ose-agent-installer-ui-rhel9(Red Hat:openshift:5) | All versions | No fix listed |
| redhat/openshift5/ose-console-rhel9(Red Hat:openshift:5) | All versions | No fix listed |
| redhat/devspaces/dashboard-rhel9(Red Hat:openshift_devspaces:3) | All versions | No fix listed |
| redhat/quay/quay-rhel8(Red Hat:quay:3) | All versions | No fix listed |
| redhat/quay/quay-rhel9(Red Hat:quay:3) | All versions | No fix listed |
| redhat/satellite/iop-advisor-frontend-rhel9(Red Hat:satellite:6) | All versions | No fix listed |
| redhat/satellite/iop-host-inventory-frontend-rhel9(Red Hat:satellite:6) | All versions | No fix listed |
| redhat/satellite/iop-vulnerability-frontend-rhel9(Red Hat:satellite:6) | All versions | No fix listed |
| npm sanitize-html(npm) | >= 2.18.0, < 2.18.1 | 2.18.1 |
References
- https://github.com/apostrophecms/apostrophe/security/advisories/GHSA-c9rx-x947-fp3h exploit vendor-advisory
- https://github.com/apostrophecms/apostrophe/commit/06e4b377f3c360f9e89c32dccd7e505ad5ddf498 patch
- https://github.com/apostrophecms/apostrophe/commit/40b989b1a9dd23d30029b8ce7668634265cfe5ea patch
- https://github.com/apostrophecms/apostrophe/releases/tag/sanitize-html@2.18.1
- Red Hat CVE page vendor-advisory
- Red Hat Bugzilla 2556329 issue-tracking
- www.cve.org
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product
- ENISA EUVD EUVD-2026-105176 third-party-advisory