XSS in Apostrophecms Apostrophe
CVE-2026-33889
ApostropheCMS is an open-source Node.js content management system. Versions 4.28.0 and prior contain a stored cross-site scripting vulnerability in the @apostrophecms/color-field module, where color values prefixed with -- bypass TinyColor validation intended for CSS custom properties, and the launder.string() call performs only type coercion without stripping HTML metacharacters. These unsanitized values are then concatenated directly into <style> tags both in per-widget style elements rendered for all visitors and in the global stylesheet rendered for editors, with the output marked as safe HTML. An editor can inject a value which closes the style tag and executes arbitrary JavaScript in the browser of every visitor to any page containing the affected widget. This enables mass session hijacking, cookie theft, and privilege escalation to administrative control if an admin views draft content. This issue has been fixed in version 4.29.0.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS: 0.003 (15.4th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 15th percentile — 15.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.002 · newest: 0.003 · change: +0.000
Affected products
- Apostrophecms Apostrophe — versions < 4.29.0
- Apostrophecms
Weakness classification (CWE)
References
- github.com/apostrophecms/apostrophe/security/advisories/GHSA-97v6-998m-fp4g (Exploit, Mitigation, Vendor Advisory)
- github.com/apostrophecms/apostrophe/commit/6a89bdb7acdb2e1e9bf1429961a6ba7f9941… (Patch)
Frequently asked questions
- What is CVE-2026-33889?
- CVE-2026-33889 is a medium-severity vulnerability in Apostrophecms Apostrophe, classified under Cross-site Scripting. CVSS score: 5.4/10. Published 2026-04-15.
- How severe is CVE-2026-33889?
- Medium severity. CVSS v3 base score is 5.4 out of 10.