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.
References
| Link | Resource |
|---|---|
| https://github.com/apostrophecms/apostrophe/commit/6a89bdb7acdb2e1e9bf1429961a6ba7f99410481 | Patch |
| https://github.com/apostrophecms/apostrophe/security/advisories/GHSA-97v6-998m-fp4g | Exploit Mitigation Vendor Advisory |
| https://github.com/apostrophecms/apostrophe/security/advisories/GHSA-97v6-998m-fp4g | Exploit Mitigation Vendor Advisory |
Configurations
History
20 Apr 2026, 17:03
| Type | Values Removed | Values Added |
|---|---|---|
| First Time |
Apostrophecms
Apostrophecms apostrophecms |
|
| CPE | cpe:2.3:a:apostrophecms:apostrophecms:*:*:*:*:*:*:*:* | |
| References | () https://github.com/apostrophecms/apostrophe/commit/6a89bdb7acdb2e1e9bf1429961a6ba7f99410481 - Patch | |
| References | () https://github.com/apostrophecms/apostrophe/security/advisories/GHSA-97v6-998m-fp4g - Exploit, Mitigation, Vendor Advisory |
16 Apr 2026, 13:16
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/apostrophecms/apostrophe/security/advisories/GHSA-97v6-998m-fp4g - |
15 Apr 2026, 20:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-04-15 20:16
Updated : 2026-06-17 10:38
NVD link : CVE-2026-33889
Mitre link : CVE-2026-33889
CVE.ORG link : CVE-2026-33889
JSON object : View
Products Affected
apostrophecms
- apostrophecms
CWE
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
