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 packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | drupal/sdc_embed | < 1.4.1 | 1.4.1 | DRUPAL-CONTRIB-2026-377 |