CVE-2026-33889
Last modified
CVE-2026-33889 is a medium-severity vulnerability rated 5.4/10 on the CVSS scale. 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. EPSS estimates a 0.21% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Apostrophecms | Apostrophecms | < 4.29.0 |
References
- https://github.com/apostrophecms/apostrophe/security/advisories/GHSA-97v6-998m-fp4gExploit, Mitigation, Vendor Advisory
- https://github.com/apostrophecms/apostrophe/security/advisories/GHSA-97v6-998m-fp4gExploit, Mitigation, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-33889?
How severe is CVE-2026-33889?
How do I fix CVE-2026-33889?
Are you affected by CVE-2026-33889?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
