CVE-2026-53608 @apostrophecms/seo Vulnerable to Stored XSS via Unsanitized Google Analytics / GTM ID Injected into Script Tag
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
Description
ApostropheCMS is an open-source Node.js content management system. Versions up to and including 1.4.2 of the @apostrophecms/seo package injects the Google Analytics Tracking ID (seoGoogleTrackingId) and Google Tag Manager ID (seoGoogleTagManager) directly into <script> tag bodies using JavaScript template literals without any sanitization or validation. Any user with editor-level access (the default role for content managers) can set these fields to a malicious value, resulting in stored XSS that executes on every page for every visitor of the site. As of time of publication, no known patched versions are available.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| apostrophecms @apostrophecms/seo(npm) | < 1.5.0; <= 1.4.2 | 1.5.0 | Fixed |
| apostrophecms @apostrophecms/seo | = <= 1.4.2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| apostrophecms @apostrophecms/seo | = <= 1.4.2 | No fix listed |
| apostrophecms @apostrophecms/seo(npm) | <= 1.4.2 | No fix listed |
| apostrophecms @apostrophecms/seo(npm) | < 1.5.0 | 1.5.0 |
References
- https://github.com/apostrophecms/apostrophe/security/advisories/GHSA-wf43-fpp3-cf65 exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com patch
- github.com
- github.com product