Drupal security updates, in plain English · Module

Single directory component Embed

23 sites report using it · on drupal.org · 1 security update explained here

This module adds a button to the text editor for inserting design components directly into content.

Below is every security update for Single directory component Embed that this site has covered, newest first. Each one says who could exploit it, whether it applies to your site, how urgent it is, and what to tell your developer. If your site uses this module and you are not sure which version, that is the first question to ask whoever looks after it.

Single directory component Embed

Moderately critical · 23 sites report using it · SA-CONTRIB-2026-377 · on drupal.org · Week of 2 December 2026

The module does not properly check the data provided by the content author before displaying it. An ordinary account on the site could insert malicious scripts into the page. This could allow them to view hidden data or change information on the site.

  • Who could do thisOnly someone with a login on your site.
  • Does it apply to youA site is affected if a user has the access right to use a text format that has the embed filter enabled.
  • Has it been used in attacksNo sign of it.
  • How urgentDrupal rates this moderately critical. Include it in your next routine update, within the month.

Tell your developerUpdate Single directory component Embed to 1.4.1.

For developers: what the fix changed

The fix introduces a PropValidator service to validate component availability, props, and slots before rendering embeds, rejecting render properties and dangerous URLs. This validation is applied in SdcEmbedController::preview, SdcEmbedFilter::process, and SdcSlotSource::buildRenderArray.

Also in this release The release also includes automated Drupal 12 compatibility fixes, PHPUnit attributes for tests, and moves hook implementations to an object oriented hook class.

1.3.0 to 1.4.1 3 commits, 28 files including 15 tests.

  • .gitignore +1 −0
  • CHANGELOG.md +18 −0
  • README.md +21 −0
  • composer.json +2 −1
  • modules/sdc_embed_demo/sdc_embed_demo.info.yml +1 −1
  • sdc_embed.info.yml +1 −1
  • sdc_embed.module +4 −16
  • sdc_embed.services.yml +11 −0 fix
  • src/Controller/SdcEmbedController.php +22 −18 fix
  • src/Hook/SdcEmbedHooks.php +38 −0
  • src/Plugin/Filter/SdcEmbedFilter.php +19 −15 fix
  • src/Plugin/SlotSource/SdcSlotSource.php +8 −2 fix

Full diff, 1.3.0 to 1.4.1

The comparison is against the release immediately before the fix. If your site is on an older release, more will have changed.

Not sure what your site is running?

Send me your Drupal site's address.

I'll tell you what I can see from outside, what the Drupal 10 end of life on 9 December means for it, and what it would cost to have me keep it patched. There's no charge for that and no obligation. peter@peterbrady.co.uk


Get in touch

Tell me who you are, what your organisation does, and what you need. That might be a Drupal site that needs looking after, an upgrade to get done before December, or an agency that needs Drupal cover.

If I can help, I'll say so and suggest a call. If I can't, I'll tell you straight away rather than waste your time.

peter@peterbrady.co.uk

For context: I work mainly with UK membership bodies, charities and research organisations, and with the agencies that look after their websites. Not recruiters.

Or start smaller and connect with me on LinkedIn. That's where I post what I find digging around in charity and grants data, and where the free tools turn up first.