GHSA-vfgc-c76h-mwh4 — drupal/core
MEDIUMGHSA-vfgc-c76h-mwh4 is a medium-severity (CVSS 5.3) vulnerability in drupal/core. A fix is available for drupal/core — see the affected versions and patch details below.
Drupal core Cross-Site Scripting (XSS) vulnerabilities
Real-World Exposure
drupal/core🐘drupal/core🐘drupal/coreReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Packagist packages — download data is not available via public APIs for these ecosystems.
Description
The Drupal project uses the CKEditor, library for WYSIWYG editing. CKEditor has released a security update that impacts Drupal.
Vulnerabilities are possible if Drupal is configured to allow use of the CKEditor library for WYSIWYG editing. An attacker that can create or edit content (even without access to CKEditor themselves) may be able to exploit one or more Cross-Site Scripting (XSS) vulnerabilities to target users with access to the WYSIWYG CKEditor, including site admins with privileged access.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐘Packagist | drupal/core | ≥ 8.0.0&&< 8.9.18 | 8.9.18composer require drupal/core:^8.9.18 |
| 🐘Packagist | drupal/core | ≥ 9.1.0&&< 9.1.12 | 9.1.12composer require drupal/core:^9.1.12 |
| 🐘Packagist | drupal/core | ≥ 9.2.0&&< 9.2.4 | 9.2.4composer require drupal/core:^9.2.4 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for drupal/core, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update drupal/core to 8.9.18 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-vfgc-c76h-mwh4 is resolved across your whole dependency graph.
Workarounds
Escape or sanitise the affected output on the server side rather than relying on client-side filtering, and add a Content-Security-Policy that blocks inline script execution so injected markup cannot run even if it reaches the page.
Frequently Asked Questions
Is GHSA-vfgc-c76h-mwh4 in your dependencies?
Find it across Packagist, including transitive dependencies.