ADVISORIES

Drupal Security Advisory

DRUPAL-CONTRIB-2026-053

Details

This module enables you to use OpenAI as a provider for the AI module.

The module doesn't sufficiently sanitize user-supplied URLs, leading to a Server-side request forgery (SSRF) vulnerability.

This vulnerability is mitigated by the fact that an attacker must have the access to change the host url and a way to generate AI-generated images.

Affected packages

EcosystemPackageAffected versions
Packagist:https://packages.drupal.org/8drupal/ai_provider_openai
All versions before 1.1.1 (fixed in 1.1.1)
From 1.2.0 before 1.2.2 (fixed in 1.2.2)

References