Skip to content
OpenAdvisories
Unscored CVE-2026-142431 DRUPAL-CONTRIB-2026-377

SDC Embed adds a CKEditor 5 toolbar button for embedding Single Directory Components (SDC) from the active theme. These are embedded direct…

Published Dec 2, 2026 · Updated Dec 2, 2026 · Assigned by 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 packages

EcosystemPackageAffectedFixedRecord
Packagist drupal/sdc_embed < 1.4.1 1.4.1 DRUPAL-CONTRIB-2026-377

References