Stored XSS in ApostropheCMS due to inadequate color field validation
CVE-2026-112951
5.4MEDIUM
What is CVE-2026-112951?
ApostropheCMS, an open-source Node.js content management system, suffers from a vulnerability where the color field accepts trailing content after valid rgb() or hsl() prefixes. This flaw is due to inadequate validation by TinyColor, which allows authenticated users with edit permissions to embed arbitrary HTML after a valid color prefix. Once rendered, this malicious payload can execute, leading to stored XSS attacks. The issue was addressed in version 4.34.0.
Affected Version(s)
apostrophe < 4.34.0
