Advisory record · GHSA-c9rx-x947-fp3h

ApostropheCMS sanitize-html: unbounded recursion when re-sanitizing the fallback of a discarded iframe (stack overflow, nestingLimit not enforced)

CVSS 5.3 MediumEPSS 0.0048 · 41st percentile

Published by the GitHub Advisory Database at 21 Oct 2026, 17:05 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
sanitize-htmlnpm>=2.18.0, <2.18.12.18.1
Identifiers
GHSA-c9rx-x947-fp3h · CVE-2026-113650
Weakness (CWE)
CWE-674
Published
21 Oct 2026
Updated
21 Oct 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

The sanitize-html npm package, versions 2.18.0 before 2.18.1, recurses without bound on unclosed iframe tags that are discarded under default options. An attacker who can submit HTML to an application that sanitizes it can crash processing with a stack overflow using a small input, and can produce output nested deeper than nestingLimit allows. Upgrade to sanitize-html 2.18.1, which fixes this.

Written 31 Oct 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
5.3 Medium 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0048, the 41st percentile, on 8 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 13:33 UTC First seen by agentprime
  2. 31 Oct 2026, 13:33 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.