Skip to content

Drupal Core Insufficient Contextual Links validation leads to Remote Code Execution

Critical severity GitHub Reviewed Published May 15, 2024 to the GitHub Advisory Database • Updated May 15, 2024

Package

composer drupal/core (Composer)

Affected versions

>= 8.0.0, < 8.5.8
>= 8.6.0, < 8.6.2

Patched versions

8.5.8
8.6.2

Description

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".

References

Published to the GitHub Advisory Database May 15, 2024
Reviewed May 15, 2024
Last updated May 15, 2024

Severity

Critical

EPSS score

Weaknesses

Improper Control of Generation of Code ('Code Injection')

The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. Learn more on MITRE.

CVE ID

No known CVE

GHSA ID

GHSA-7v68-3pr5-h3cr

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.