---
id: CVE-2026-112958
title: 'ApostropheCMS: Stored XSS via Unescaped Widget Style Attribute Serialization'
summary: >-
  ApostropheCMS is an open-source Node.js content management system. Prior to
  4.34.0, a project-defined free-form widget style field can carry an
  editor-controlled quote into an inline style attribute because the wrapper
  serializer does no…
severity: medium
cvss: 5.4
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N'
cvssSource: cna
cwe:
  - CWE-79
vendor: apostrophecms
product: apostrophe
affected:
  - apostrophe < 4.34.0
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-10-20T16:58:10.168593Z'
exploitAvailable: true
published: '2026-10-20'
updated: '2026-10-20'
sourceUpdated: '2026-10-20T16:59:06.566Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-112958'
references:
  - url: >-
      https://github.com/apostrophecms/apostrophe/security/advisories/GHSA-7jg5-frgc-c67w
    label: >-
      https://github.com/apostrophecms/apostrophe/security/advisories/GHSA-7jg5-frgc-c67w
  - url: >-
      https://github.com/apostrophecms/apostrophe/commit/06e4b377f3c360f9e89c32dccd7e505ad5ddf498
    label: >-
      https://github.com/apostrophecms/apostrophe/commit/06e4b377f3c360f9e89c32dccd7e505ad5ddf498
  - url: >-
      https://github.com/apostrophecms/apostrophe/commit/40b989b1a9dd23d30029b8ce7668634265cfe5ea
    label: >-
      https://github.com/apostrophecms/apostrophe/commit/40b989b1a9dd23d30029b8ce7668634265cfe5ea
  - url: 'https://github.com/apostrophecms/apostrophe/releases/tag/apostrophe@4.34.0'
    label: 'https://github.com/apostrophecms/apostrophe/releases/tag/apostrophe@4.34.0'
tags:
  - cve.org
  - exploit-available
ingestedAt: '2026-10-20T17:12:53.595Z'
---

## Overview

ApostropheCMS is an open-source Node.js content management system. Prior to 4.34.0, a project-defined free-form widget style field can carry an editor-controlled quote into an inline style attribute because the wrapper serializer does not apply HTML-attribute encoding. The quote can terminate the style attribute and inject executable attributes when published content, or an affected draft viewed by a higher-privileged user, is rendered. This issue is fixed in version 4.34.0.

## Affected

- `apostrophe < 4.34.0`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
