Advisory record · GHSA-x3q4-9hxx-gx8m

ApostropheCMS sanitize-html: nonTextTags discard region ends early on an implied close, letting <noscript> content render

CVSS 5.3 MediumEPSS 0.0043 · 37th percentile

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

PackageEcosystemAffectedFixed in
sanitize-htmlnpm<2.18.02.18.0
Identifiers
GHSA-x3q4-9hxx-gx8m · CVE-2026-113654
Weakness (CWE)
CWE-79
Published
20 Oct 2026
Updated
20 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 before 2.18.0, is affected. Its handling of nonTextTags (such as noscript-adjacent content) ends the discard region early when htmlparser2 emits an implied close, so content inside a noscript element can be passed through as ordinary markup. An attacker who can supply HTML to be sanitized can get elements into the output that a browser with scripting enabled would not render, and the source notes this is a parsing mismatch rather than a full exploit chain. The fix is to upgrade to sanitize-html 2.18.0 or later, which is listed as the fixed version.

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 4.0 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 CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0043, the 37th percentile, on 11 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.