Skip to main content
Menu
Advisories

SDC Embed adds a CKEditor 5 toolbar button for embedding Single Directory Components (SDC) from the active theme

DRUPAL-CONTRIB-2026-377Published Updated Drupal

Description

SDC Embed adds a CKEditor 5 toolbar button for embedding Single Directory Components (SDC) from the active theme. These are embedded directly into rich-text content via JSON-formatted input.

That JSON comes from the content author, but is passed to Drupal's component render element without sufficient validation, which can led to cross-site scripting (XSS).

This vulnerability is mitigated by the fact that the attacker needs permission to use a text format that has the Embed Single Directory Components filter enabled.

Affected versions

References