Skip to main content
VulnerabilityPublished

CVE-2025-13981: Drupal AI (Artificial Intelligence) · Cross-site Scripting

Affects Drupal AI (Artificial Intelligence)Source CVE Database V5

0

Not known to be exploited · CVSS 4.4 Medium · fixed in 1.2.4 : update Drupal AI (Artificial Intelligence) when convenient.

Data as of 26 Oct 2026, 10:12 UTC

CVSS 3.1 base score
4.4Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 3% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.2.4, 1.1.7, 1.0.7
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 28 Jan 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade Drupal AI (Artificial Intelligence) to 1.2.4, 1.1.7 or 1.0.7.

Affected software

ProductAffectedFixed in
DrupalAI (Artificial Intelligence)Affected
  • >=1.2.0 <1.2.4
Fixed in
  • 1.2.4
DrupalAI (Artificial Intelligence)Affected
  • >=1.1.0 <1.1.7
Fixed in
  • 1.1.7
DrupalAI (Artificial Intelligence)Affected
  • <1.0.7
Fixed in
  • 1.0.7

AI-suggested

1. 2. Implement strict input validation and sanitization on all user-supplied data within the Drupal AI module to prevent injection of malicious scripts. 3. Deploy Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts in browsers. 4. Conduct regular security audits and code reviews focused on input handling in custom Drupal modules or extensions. 5. Educate users about the risks of interacting with suspicious links or content to reduce the effectiveness of social engineering attacks. 6. Monitor web server and application logs for unusual activity or script injection attempts related to the Drupal AI module. 7. Utilize web application firewalls (WAF) configured to detect and block common XSS attack patterns targeting Drupal applications. 8. Limit the privileges of users and services interacting with the Drupal AI module to minimize potential damage from exploitation.

Description

CVE-2025-13981 is a medium severity Cross-Site Scripting (XSS) vulnerability in the Drupal AI module affecting versions prior to 1.0.7, 1.1.7, and 1.2.4. It arises from improper neutralization of input during web page generation, allowing attackers to inject malicious scripts. Exploitation requires network access, low privileges, and user interaction, with a complexity rated as high. While no known exploits are currently active in the wild, successful attacks could lead to limited confidentiality and integrity impacts, such as session hijacking or defacement.

References

Community reviews

Loading reviews…