{"id":"CVE-2026-113654","published":"2026-10-20T16:35:55Z","modified":"2026-10-28T14:01:09Z","title":"ApostropheCMS sanitize-html: nonTextTags discard region ends early on an implied close, letting <noscript> content…","vendor":"apostrophecms","product":"apostrophe","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00483,"percentile":0.343,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/apostrophecms/apostrophe/security/advisories/GHSA-x3q4-9hxx-gx8m","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/apostrophecms/apostrophe/commit/9500b8b0e1d630d5e07fbb5fd2c25ed0943845ce","tags":["x_refsource_MISC"]},{"url":"https://github.com/apostrophecms/apostrophe/commit/f84fd41cbf6c22eb8d0008fc9c25df1f7130b350","tags":["x_refsource_MISC"]},{"url":"https://github.com/apostrophecms/apostrophe/releases/tag/sanitize-html@2.18.0","tags":["x_refsource_MISC"]}],"priority":{"score":10.6,"factors":[{"name":"EPSS percentile","points":6.86},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"apostrophecms","affectedVersions":[{"vendor":"apostrophecms","product":"apostrophe","versions":["< 4.33.0"]},{"vendor":"apostrophecms","product":"sanitize-html","versions":["< 2.18.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-28T14:00:57.292356Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"sanitize-html","vulnerableRanges":["<2.18.0"],"patched":["2.18.0"],"from":["GHSA-x3q4-9hxx-gx8m"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-105182","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-53606","published":"2026-06-12","fixed":"2.17.5","kev":false},{"cve":"CVE-2026-63670","published":"2026-08-17","fixed":"2.17.6","kev":false},{"cve":"CVE-2026-84371","published":"2026-09-01","fixed":"2.17.7","kev":false,"link":{"from":"CVE-2026-84371","to":"CVE-2026-113654","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:sanitize-html","fromFixed":"2.17.7","toFixed":"2.18.0","daysApart":49}]}},{"cve":"CVE-2026-113654","published":"2026-10-20","fixed":"2.18.0","kev":false},{"cve":"CVE-2026-113657","published":"2026-10-20","fixed":"2.18.0","kev":false},{"cve":"CVE-2026-113661","published":"2026-10-20","fixed":"2.18.0","kev":false},{"cve":"CVE-2026-113650","published":"2026-10-20","fixed":"2.18.1","kev":false}],"package":"npm:sanitize-html"}}