SA-CONTRIB-2026-119: XSS

Published Sep 2, 2026
·
Updated

This AI Chatbot module enables you to have a Chatbot using assistants to help you with your Drupal website. The module doesn't sufficiently sanitize for cross site scripting (XSS) when using the structured results using legacy agent setups. This vulnerability is mitigated by the fact that an attacker must be able to invoke a prompt injection set via editorial content and the site must have been setup using AI 1.0.x and AI Agents 1.0.x branch using a uncommon configuration. Any configuration setup or updated after these minor versions are not affected.

Credit

Drew Webber (mcdruid)(the Drupal Security Team)

Affected Software

1 affected componentFixes available
drupal/ai<1.4.8, <1.3.13
1.4.81.3.13

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 1.4.8Fixed in 1.3.13
  2. Compensating control

    Mitigate the XSS issue by ensuring the site is set up only with AI 1.0.x and AI Agents 1.0.x branch using the uncommon configuration where the legacy agent structured results are used.

Event History

Sep 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

Which deployments are exposed to this issue?

Exposure is limited to sites using the AI Chatbot module with an AI 1.0.x and AI Agents 1.0.x legacy-agent setup that uses the uncommon affected configuration. Configurations created or updated after those minor versions are not affected.

2

What does an attacker need to exploit it?

An attacker must be able to invoke a prompt injection through editorial content. The vulnerable legacy-agent structured-results configuration must also be in use.

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