drupal/core security advisory
CVE-2026-6367: Drupal core allows Cross-Site Scripting (XSS)
CVE-2026-6367 is a medium-severity XSS vulnerability in the PHP package drupal/core (CVSS 6.1), published 19 May 2026. It is fixed in 11.3.7; earlier versions are affected. It can be exploited without an account.
medium 6.1 published 2026-05-19 · updated 2026-07-24
- Affected versions
- >= 11.3.0, < 11.3.7
- Fixed in
- 11.3.7
- Newest release
- 11.4.11
- Severity
- Medium · CVSS 6.1
- Type
- Cross-site scripting (XSS)
CWE-79 - Exploited in the wild
- Not on the CISA KEV list
checked 2026-11-04
Is your drupal/core version affected?
Who can exploit CVE-2026-6367
- Access: No account. Anyone who can send a request to an app that uses the affected code.
- Interaction: A user also has to do something, such as open a link or a page the attacker prepared.
CVSS vector (scored by CISA ADP): CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
How to fix CVE-2026-6367 in drupal/core
- Find the installed version:
composer show drupal/core. If you never required it yourself,composer why drupal/coreshows which package pulls it in. - Update it:
composer update drupal/core --with-all-dependencies. You need 11.3.7 or newer. - If Composer will not go that high, your composer.json constraint is holding it back. Widen it (for example
"drupal/core": "^11.3.7"if you can take that version), or upgrade the package that requires it. - Run
composer audit. It reads the same advisory data and should no longer list CVE-2026-6367. - Commit composer.lock and deploy it. On the server, run
composer install --no-devfrom the lock file, notcomposer update.
If you cannot upgrade yet
- Escape output in your own templates and add a Content-Security-Policy that blocks inline scripts.
- Limit who can save the content the advisory names (for example rich text, SVG or form fields).
- If your app does not use the affected feature, note that in your audit, but still plan the upgrade.
The CVE-2026-6367 advisory
Improper Neutralization of Input During Web Page Generation ("Cross-site Scripting") vulnerability in Drupal Drupal core allows Cross-Site Scripting (XSS). This issue affects Drupal core: from 11.3.0 before 11.3.7.
References
- GitHub advisory GHSA-pw6f-3999-xp7g github.com
- drupal.org www.drupal.org
Other drupal/core advisories
- critical CVE-2026-9082: Drupal Core has a SQL Injection issue 2026-05-20
- medium CVE-2026-6366: Drupal core allows Object Injection 2026-05-20
- medium CVE-2026-6365: Drupal core is Vulnerable to Cross-Site Scripting 2026-05-20
- medium CVE-2025-13081: Drupal core allows Object Injection 2025-11-18
- low CVE-2025-13082: Drupal core allows Content Spoofing 2025-11-18
- low CVE-2025-13083: Drupal core allows Exploiting Incorrectly Configured Access Control Security Levels 2025-11-18
Related
Need help patching or upgrading? Laskyr does PHP and Laravel security fixes and upgrades. Tell us what you run and we reply with a plan and a price.
Ask about a fixWhere this data comes from
- Affected and fixed versions: the Packagist security advisories API (GitHub Advisory Database and FriendsOfPHP), the same data
composer audituses. Synced 2026-11-03. - Description, score, weakness and references: NIST National Vulnerability Database (NVD), checked 2026-11-04. This product uses data from the NVD API but is not endorsed or certified by the NVD.
- Exploited-in-the-wild status: the CISA Known Exploited Vulnerabilities catalog, checked 2026-11-04.
- Compiled by Daniel Lasek at Laskyr from the sources above. The summary, “who can exploit it”, “how to fix it” and hardening sections are our plain-English reading of the record and are generated from it. The quoted description is the record's own text. Spot an error? Tell us.