Drupal Core Insufficient Contextual Links validation leads to Remote Code Execution
The Contextual Links module doesn't sufficiently validate the requested contextual links. This vulnerability is mitigated by the fact that an attacker must have a role with the permission "access contextual links".
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | drupal/core | >= 8.0.0, < 8.5.8, >= 8.6.0, < 8.6.2 | 8.5.8, 8.6.2 |
| Drupal (core) | drupal/core | >= 8.0.0, < 8.5.8, >= 8.6.0, < 8.6.2 | 8.5.8, 8.6.2 |
References
- Weakness (CWE)
CWE-94- Platform
- Composer, Drupal
- Package
drupal/core- Disclosed
- 15.05.2024
- Updated
- 11.10.2026 11:18
Sources and licenses
OSV / GitHub Advisory Database - GHSA-7v68-3pr5-h3cr - CC BY 4.0
Vulnerability history: drupal/core
All published vulnerabilities of this package (Drupal (core)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 165
- First → latest
- 02.2018 09.2026
- Without a fix
- 3
- Exploited in attacks
- 5
Severity breakdown
- Critical 17
- High 44
- Medium 72
- Low 6
- Unrated 26
Disclosures per year
- 2018: 4
- 2019: 14
- 2020: 12
- 2021: 11
- 2022: 61
- 2023: 6
- 2024: 36
- 2025: 8
- 2026: 13
-
Drupal Core Insufficient Contextual Links validation leads to Remote Code Execution this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.