# DRUPAL-CONTRIB-2026-377: SDC Embed adds a CKEditor 5 toolbar button for embedding Single Directory Components (SDC) from the active theme

- Database: Drupal
- Published: 2026-12-02
- Modified: 2026-12-02

## Affected versions

- drupal/sdc\_embed (Packagist): fixed in 1.4.1

## 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.

## References

- https://www.drupal.org/sa-contrib-2026-377

Page: https://cve.now/DRUPAL-CONTRIB-2026-377

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
