CVE-2026-6365: Drupal Core AJAX Modal Dialog XSS Vulnerability
Summary
CVE-2026-6365: Drupal core's jQuery integration for AJAX modal dialog boxes does not sufficiently sanitize certain options, which which can lead to a cross-site scripting (XSS) vulnerability. Affects drupal/core across 4 version ranges.
>= 8.0.0, < 10.5.9
>= 10.6.0, < 10.6.7
>= 11.0.0, < 11.2.11
>= 11.3.0, < 11.3.7
Fixed in 4 releases; the minimum fixed version depends on the release line you run. How to fix ↓
Also tracked for
- drupal · Bitnami
The same CVE-2026-6365 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
Drupal is a widely-used open-source content management system (CMS) that allows users to build and manage websites. It is known for its flexibility, scalability, and a large ecosystem of modules and themes. However, like any software, it can have vulnerabilities. The specific vulnerability in question affects the jQuery integration for AJAX modal dialog boxes within Drupal, which is crucial for creating dynamic user interfaces.
Vulnerability Detail
The vulnerability arises from insufficient sanitization of certain options in Drupal's jQuery integration for AJAX modal dialog boxes. This flaw can lead to cross-site scripting (XSS) attacks, where an attacker can inject malicious scripts into web pages viewed by other users. The implications of this vulnerability are severe, as it can compromise user data, session information, and overall site integrity, potentially leading to unauthorized actions on behalf of users.
How To Fix
Fixed versions by release line
The minimum fixed version depends on the release line you run.
-
>= 8.0.0, < 10.5.910.5.9composer require drupal/core:10.5.9 -
>= 10.6.0, < 10.6.710.6.7composer require drupal/core:10.6.7 -
>= 11.0.0, < 11.2.1111.2.11composer require drupal/core:11.2.11 -
>= 11.3.0, < 11.3.711.3.7composer require drupal/core:11.3.7
Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →
Workaround
Currently, there are no specific workarounds mentioned for this vulnerability. The best course of action is to apply the available patches as soon as possible.
Conclusion
The CVE-2026-6365 vulnerability in Drupal core poses a significant risk due to its potential for XSS attacks. It is crucial for users to update their installations to the patched versions to safeguard their sites. Regular monitoring with tools like Vulert can help maintain security against such vulnerabilities.
See every vulnerability recorded for drupal/core →
FAQ
CVE-2026-6365 is a vulnerability in Drupal core that allows for cross-site scripting (XSS) attacks due to insufficient sanitization in AJAX modal dialog boxes.
If your Drupal site is running a version between 8.0.0 and 10.5.8, 10.6.0 and 10.6.6, 11.0.0 and 11.2.10, or 11.3.0 and 11.3.6, it is affected. You can also use Vulert to monitor vulnerabilities in your application.
The risks include potential data theft, unauthorized actions on behalf of users, and overall compromise of the site’s security.
There are no specific workarounds available for this vulnerability. The recommended action is to update to a patched version.
Vulert monitors and alerts in real-time for open-source vulnerabilities using just the composer.lock file, allowing you to stay informed about potential risks without needing to access the code.
References
Related vulnerabilities
Recent vulnerabilities recorded for drupal/core.