CVE 8.7 HIGH

@apostrophecms/seo Vulnerable to Stored XSS via Unsanitized Google Analytics / GTM ID Injected into Script Tag_CVE-2026-53608

8.7 / 10
HIGH
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N

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.

AI Analysis

Stored XSS vulnerability in @apostrophecms/seo package due to unsanitized Google Analytics and Google Tag Manager IDs

Basic Information

ID CVE-2026-53608
Source GitHub_M
Published Jun 12, 2026 at 20:57

Affected Product

Vendor apostrophecms
Product @apostrophecms/seo
Version <= 1.4.2
Affected Versions apostrophecms @apostrophecms/seo <= 1.4.2

CWE Classification

AI Assessment

AI Score 8.7 / 10
AI Severity High
Vendor ApostropheCMS
Product @apostrophecms/seo
Version <= 1.4.2

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.