SA-CONTRIB-2026-266: XSS

Published Oct 28, 2026
·
Updated

This module enables you to use AI on the website. The module does not sufficiently restrict HTML rendering, allowing cross-site scripting (XSS) under certain conditions. This vulnerability is mitigated by the fact that an attacker must have access to a text format that can render HTML.

Credit

Marcus Johansson (marcus_johansson)

Affected Software

1 affected componentFixes available
composer/drupal/ai<1.5.2, <1.4.11, <1.5.2, <1.4.11
1.5.21.4.111.5.21.4.11

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 1.5.2Fixed in 1.4.11Fixed in 1.5.2Fixed in 1.4.11

Event History

Oct 28, 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 is exposed to this issue?

Sites using composer/drupal/ai are exposed when untrusted users can submit content using a text format that renders HTML. The issue is mitigated where attackers do not have access to such a text format.

2

What does an attacker need to exploit the vulnerability?

An attacker must have access to a text format capable of rendering HTML. The provided information does not identify any additional prerequisites.

3

How can I assess whether my site is affected?

Review whether composer/drupal/ai is installed and whether users who should not be trusted can use text formats that render HTML. If no attacker-controlled access to an HTML-rendering text format exists, the stated mitigating condition is present.

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