Intel

AIKIDO-2026-498873

drupal/ai is vulnerable to Cross-Site Scripting (XSS)

CVE-2026-118552Published Oct 29, 2026
October 29, 2026

56

CVE Score

Medium

Cross-Site Scripting (XSS)

Are you affected? Scan for Free

TL;DR

drupal/ai does not sanitize certain HTMX attributes. Those attributes can run as script in the page. The fix strips the unsafe attributes before rendering.

How do I fix this?

Upgrade the drupal/ai library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Package

Versions

1.0.0 - 1.4.10

Fixed in 1.4.11

1.5.0 - 1.5.1

Fixed in 1.5.2

Background info

drupal/ai is vulnerable to Cross-Site Scripting (XSS) in versions 1.0.0 - 1.4.10 and 1.5.0 - 1.5.1.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea