Improper sanitization in sanitize-html lets noscript content render
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · Low
- Fix status
- Partial Red Hat: 10 without a fix
Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-79.
Summary
ApostropheCMS apostrophe before 4.33.0 and sanitize-html before 2.18.0 are affected. When nonTextTags includes noscript, the parser ends the discard region early on an implied ancestor close, so content that scripting-enabled browsers treat as raw text is not removed (CWE-79). A remote attacker with low privileges can inject content that survives sanitization and renders, without user interaction.
Written with Claude Haiku 5.5 from the sources below · 2026-11-06
Description from the CNA
ApostropheCMS is an open-source Node.js content management system, and sanitize-html provides a simple HTML sanitizer with a clear API. Prior to sanitize-html 2.18.0, a non-default nonTextTags configuration that includes noscript can end its discard region early when htmlparser2 emits an implied ancestor close inside noscript. Because scripting-enabled browsers treat noscript content as raw text while the parser does not model that mode, content intended to remain inert can survive sanitization and render; the issue does not generalize to every default nonTextTags element. This issue is fixed in sanitize-html 2.18.0.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| apostrophecms | apostrophe | before 4.33.0 | 4.33.0 | Patch available | CNA |
| apostrophecms | sanitize-html | before 2.18.0 | 2.18.0 | Patch available | CNA |
| — | sanitize-html (npm) | before 2.18.0 | 2.18.0 | Patch available | GHSA-x3q4-9hxx-gx8m |
- apostrophe Vendorapostrophecms Affected before 4.33.0 Fixed in 4.33.0 Patch available CNA
- sanitize-html Vendorapostrophecms Affected before 2.18.0 Fixed in 2.18.0 Patch available CNA
- sanitize-html (npm) Vendor— Affected before 2.18.0 Fixed in 2.18.0 Patch available GHSA-x3q4-9hxx-gx8m
CPE names Threatist (inferred) · 1
Inferred from how NVD named this product before; not given by a source.
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:apostrophecms:apostrophecms:*:*:*:*:*:*:*:* | — | — | apostrophecms |
- cpe:2.3:a:apostrophecms:apostrophecms:*:*:*:*:*:*:*:* Versions — — ·apostrophecms
Remediation
Upgrade sanitize-html to 2.18.0 and apostrophe to 4.33.0. Red Hat lists no fix plan for Cost Management On Premise, Multicluster Engine for Kubernetes, Red Hat Advanced Cluster Management for Kubernetes 2, Red Hat Enterprise Linux 10 and Red Hat OpenShift AI (RHOAI) and other products.
Written with Claude Haiku 5.5 from the sources below · 2026-11-06
- Fix · CNA apostrophe (apostrophecms) Fixed in 4.33.0
- Fix · CNA sanitize-html (apostrophecms) Fixed in 2.18.0
- Fix · GHSA-x3q4-9hxx-gx8m sanitize-html (npm) Fixed in 2.18.0 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Cost Management On Premise | Affected | No fix yet: Fix deferred |
| Multicluster Engine for Kubernetes | Affected | No fix yet: Fix deferred |
| Red Hat Advanced Cluster Management for Kubernetes 2 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 10 | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift AI (RHOAI) | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Container Platform 4 | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Container Platform 5 | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Dev Spaces | Affected | No fix yet: Fix deferred |
| Red Hat Quay 3 | Affected | No fix yet: Fix deferred |
| Red Hat Satellite 6 | Affected | No fix yet: Fix deferred |
Not affected: 1 product
- Red Hat Hardened Images
Timeline
- 2026-10-20 Threatist record created from CVE-2026-113654
- 2026-10-21 Alias added: GHSA-x3q4-9hxx-gx8m
- 2026-10-21 Fix available: npm/[email protected] · GHSA-x3q4-9hxx-gx8m
- 2026-10-21 CVSS score added · GHSA-x3q4-9hxx-gx8m
- 2026-10-21 Weakness changed · GHSA-x3q4-9hxx-gx8m
- 2026-10-21 5 new references · GHSA-x3q4-9hxx-gx8m
- 2026-10-21 Affected versions changed · Red Hat
- 2026-10-21 CVSS score added · Red Hat
- 2026-10-23 Affected versions changed · Red Hat
- 2026-10-28 CISA SSVC decision points changed
- 2026-10-28 Priority changed: LOW → MEDIUM
- 2026-10-30 Affected versions changed · Red Hat
References
Other 5
- https://github.com/apostrophecms/apostrophe/security/advisories/GHSA-x3q4-9hxx-gx8m
- https://github.com/apostrophecms/apostrophe/commit/9500b8b0e1d630d5e07fbb5fd2c25ed0943845ce
- https://github.com/apostrophecms/apostrophe/commit/f84fd41cbf6c22eb8d0008fc9c25df1f7130b350
- https://github.com/apostrophecms/apostrophe/releases/tag/[email protected]
- https://github.com/apostrophecms/apostrophe
More apostrophecms vulnerabilities
- TI-2026-25223 ApostropheCMS has Arbitrary File Write (Zip Slip / Path Traversal) in Import-Export Gzip Extraction CVSS 3.1CRITICAL 10.0
- TI-2026-32848 Apostrophe has default XSS via `xmp` raw-text passthrough in `sanitize-html` CVSS 3.1CRITICAL 9.3
- TI-2026-38664 @apostrophecms/seo Vulnerable to Stored XSS via Unsanitized Google Analytics / GTM ID Injected into Script Tag CVSS 3.1HIGH 8.7
- TI-2026-27673 ApostropheCMS: Stored XSS in SEO Fields Leads to Authenticated API Data Exposure in ApostropheCMS CVSS 3.1HIGH 8.7
- TI-2026-76992 Unauthenticated resource exhaustion via ApostropheCMS import routes CVSS 3.1HIGH 7.5
- TI-2026-76974 ApostropheCMS leaves rejected CSV uploads in temporary directory CVSS 3.1HIGH 7.5
Sources
- CVE-2026-113654 · CVE Program
- CVE-2026-113654 · NVD
- FIRST EPSS
- GHSA-x3q4-9hxx-gx8m · GitHub Advisory Database · CC BY 4.0
- CVE-2026-113654 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences