Unrated

drupal/ai_seo - SA-CONTRIB-2026-076

  • Disclosed: 08.07.2026
  • Updated: 11.10.2026 12:18

The AI SEO/GEO Analyzer module generates SEO/GEO analysis reports by sending content of an entity (including its comments) to an LLM, then converts the model's Markdown response to HTML and stores it for display to privileged users.

The generated HTML was rendered without passing through Drupal's filtering pipeline, so it relied on the LLM output being safe. Under certain circumstances a crafted prompt injection — planted in content that is included in the analysis — can cause the LLM to emit markup that results in stored Cross-site Scripting when the report is later viewed.

This vulnerability is mitigated by the fact that an attacker must be able to inject text into the content that is sent to the LLM, and that prompt injection is non-deterministic and not guaranteed to succeed on a given attempt.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Composer package drupal/ai_seo < 1.1.3 1.1.3
Drupal module drupal/ai_seo < 1.1.3 1.1.3

References

CVSS score -
Weakness (CWE)
-
Platform
Composer, Drupal
Package
drupal/ai_seo
Disclosed
08.07.2026
Updated
11.10.2026 12:18

Sources and licenses

OSV / GitHub Advisory Database - DRUPAL-CONTRIB-2026-076 - CC BY-SA 2.0; code GPL-2.0-or-later

Vulnerability history: drupal/ai_seo

All published vulnerabilities of this package (Drupal module), newest first. Shows whether this is a one-off slip or a package that needs watching.

This is the only known vulnerability of this package.

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.