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

- Severity: Medium 5.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 39% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-20T16:35:55.161Z
- Modified: 2026-10-28T14:16:56.730Z
- Also known as: GHSA-x3q4-9hxx-gx8m
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- apostrophecms apostrophe: < 4.33.0
- apostrophecms sanitize-html: < 2.18.0
- sanitize-html (npm): before 2.18.0

## Every score

- GitHub_M: CVSS:4.0 5.3 Medium `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`
- GitHub: CVSS:4.0 Medium `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`

## References

- <https://github.com/apostrophecms/apostrophe/security/advisories/GHSA-x3q4-9hxx-gx8m> (exploit, web)
- <https://github.com/apostrophecms/apostrophe/commit/9500b8b0e1d630d5e07fbb5fd2c25ed0943845ce> (web)
- <https://github.com/apostrophecms/apostrophe/commit/f84fd41cbf6c22eb8d0008fc9c25df1f7130b350> (web)
- <https://github.com/apostrophecms/apostrophe/releases/tag/sanitize-html@2.18.0> (web)
- <https://github.com/apostrophecms/apostrophe> (package)

## Sources

- CVE List: [CVE-2026-113654](https://www.cve.org/CVERecord?id=CVE-2026-113654), CVE Terms of Use, modified 2026-10-28
- GitHub Advisory Database: [GHSA-x3q4-9hxx-gx8m](https://github.com/advisories/GHSA-x3q4-9hxx-gx8m), CC-BY-4.0, modified 2026-10-20
- NVD: [CVE-2026-113654](https://nvd.nist.gov/vuln/detail/CVE-2026-113654), Public domain, modified 2026-10-28

---

Page: https://cve.day/CVE-2026-113654 · Whole record: https://cve.day/CVE-2026-113654.json · Rebuilt by cve.day 2026-11-25T22:59:46.082Z
