SA-CONTRIB-2026-269: XSS

Published Oct 28, 2026
·
Updated

This AI module enables you to interact with AI providers. It has a service that helps any consumer of the module to stop cross site scripting elements from appearing. The module does not sufficiently validate Markdown links under certain conditions, potentially allowing cross-site scripting (XSS).

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

What component is affected by this issue?

The affected software is composer/drupal/ai. The issue is in a service intended to prevent cross-site scripting elements from appearing for consumers of the module.

2

What input requires particular scrutiny?

Markdown links require scrutiny because the module does not sufficiently validate them under certain conditions. Those conditions may allow cross-site scripting payloads to pass through the service.

3

What is the potential impact if the issue is exploited?

An attacker may be able to cause cross-site scripting (XSS), which can result in script content appearing in a victim's browser context.

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