CVE-2026-63670 ApostropheCMS: Mutation-XSS / allowedTags bypass via literal `</textarea/>` solidus close
MediumCVSS 6.1
EPSS 0.33%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
Description
ApostropheCMS is an open-source Node.js content management system. Prior to 2.17.6, sanitizeHtml() can pass disallowed executable markup through packages/sanitize-html/index.js when textarea or xmp is included in allowedTags because a literal solidus after the raw-text end-tag name is treated as text by htmlparser2 and the ontext handler emits that content without escaping, while a browser parses the following img onerror markup as active HTML. This issue is fixed in version 2.17.6.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm sanitize-html(npm) | < 2.17.6; <= 2.17.5 | 2.17.6 | Fixed |
| apostrophecms apostrophe | = < 2.17.6 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| apostrophecms apostrophe | = < 2.17.6 | No fix listed |
| npm sanitize-html(npm) | <= 2.17.5 | No fix listed |
| npm sanitize-html(npm) | < 2.17.6 | 2.17.6 |
References
- https://github.com/apostrophecms/apostrophe/security/advisories/GHSA-jxwj-j7wr-gfrw exploit vendor-advisory
- https://github.com/apostrophecms/apostrophe/pull/5501 patch
- https://github.com/apostrophecms/apostrophe/commit/eae1fb2b72ec5d1c27d0977509c6482a0408f725 patch
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product
- ENISA EUVD EUVD-2026-60440 third-party-advisory