CVE-2026-6367: Drupal Core Cross-Site Scripting (XSS) Vulnerability

drupal/core Updated 05 Jun 2026

Summary

20/05/2026
Yes i
Moderate
6.1

CVE-2026-6367: Drupal core allows Cross-Site Scripting (XSS). Affects drupal/core versions >= 11.3.0, < 11.3.7. Fixed in 11.3.7. How to fix ↓

Also tracked for

The same CVE-2026-6367 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Drupal is a widely-used open-source content management system (CMS) that enables users to build and manage websites and applications. It is known for its flexibility, scalability, and strong community support. However, like any software, Drupal can be susceptible to vulnerabilities. The specific issue at hand is a Cross-Site Scripting (XSS) vulnerability in Drupal core, which can allow attackers to inject malicious scripts into web pages viewed by users.

Vulnerability Detail

The vulnerability arises from improper neutralization of input during web page generation, allowing attackers to execute arbitrary JavaScript in the context of the user's browser. This can lead to various malicious activities, including data theft, session hijacking, or defacement of the website. The affected versions of Drupal core range from 11.3.0 to just before 11.3.7, making it critical for users of these versions to address the issue promptly.

How To Fix

Minimum fixed version

11.3.7

This is the first release that contains the fix.

composer require drupal/core:11.3.7

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If immediate updating is not feasible, consider implementing input validation and sanitization measures in your application to mitigate the risk of XSS attacks. However, this is not a substitute for applying the official patch.

Conclusion

The Cross-Site Scripting (XSS) vulnerability in Drupal core poses a significant risk to users of affected versions. It is crucial to update to the latest patched version to safeguard your application against potential attacks. Regular monitoring and vulnerability management practices, such as using tools like Vulert, can help maintain the security of your software.

See every vulnerability recorded for drupal/core →

Share this vulnerability

FAQ

XSS is a security vulnerability that allows attackers to inject malicious scripts into web pages viewed by users, potentially compromising user data and session integrity.

You can check if your application is affected by using Vulert, which monitors open-source vulnerabilities in real-time. Visit Vulert Scanner to analyze your composer.lock file without needing to sign up.

If exploited, this vulnerability can lead to unauthorized access to user data, session hijacking, and other malicious activities that can compromise the integrity of your website.

Yes, it is highly recommended to update to the patched version (11.3.7 or later) as soon as possible to protect your application from potential attacks.

The CVSS score for this vulnerability is 6.1, indicating a moderate severity level.

Related vulnerabilities

Recent vulnerabilities recorded for drupal/core.

How To Fix

Minimum fixed version

11.3.7

This is the first release that contains the fix.

composer require drupal/core:11.3.7

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback