{"id":"DRUPAL-CONTRIB-2026-377","details":"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.\n\nThat 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).\n\nThis 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.","aliases":["CVE-2026-142431"],"modified":"2026-12-02T19:15:05.525090961Z","published":"2026-12-02T18:19:13Z","references":[{"type":"WEB","url":"https://www.drupal.org/sa-contrib-2026-377"}],"affected":[{"package":{"name":"drupal/sdc_embed","ecosystem":"Packagist:https://packages.drupal.org/8","purl":"pkg:composer/drupal/sdc_embed?repository_url=https:%2F%2Fpackages.drupal.org%2F8"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.1"}],"database_specific":{"constraint":"\u003c1.4.1"}}],"database_specific":{"affected_versions":"\u003c1.4.1","source":"https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/sdc_embed/DRUPAL-CONTRIB-2026-377.json"}}],"schema_version":"1.9.2","credits":[{"name":"Drew Webber (mcdruid)","contact":["https://www.drupal.org/u/mcdruid"]},{"name":"Tiago  (tiago)","contact":["https://www.drupal.org/u/tiago"]}]}