SA-CONTRIB-2026-377: XSS

Published Dec 2, 2026
·
Updated

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.

Credit

Drew Webber (mcdruid)(the Drupal Security Team), Tiago (tiago)

Affected Software

1 affected componentFixes available
composer/drupal/sdc_embed<1.4.1
1.4.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade composer/drupal/sdc_embed to a version that resolves this vulnerability.

    Fixed in 1.4.1

Event History

Dec 2, 2026
Advisory Published
via Drupal·12:00 AM
Data Sourced
via Drupal·12:00 AM
DescriptionSeverityAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

Who can exploit this vulnerability?

An attacker must have permission to use a text format with the Embed Single Directory Components filter enabled. The vulnerable JSON input originates from the content author.

2

What conditions make an installation affected?

An installation is affected when it uses SDC Embed and allows authors to use a text format that has the Embed Single Directory Components filter enabled.

3

What can be done if a fix cannot be applied immediately?

Restrict access to text formats that have the Embed Single Directory Components filter enabled, particularly for untrusted or lower-privileged content authors.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203