SA-CONTRIB-2026-374: Critical severity composer/drupal/eca_expression_language vulnerability
This module integrates the Symfony ExpressionLanguage component with the ECA module, providing a condition that evaluates an expression containing tokens. The module does not sufficiently sanitize token values used in expressions. An attacker able to control the value of such a token can alter how the condition is evaluated, bypassing the logic of the ECA model that relies on it. This vulnerability is mitigated by the fact that a site administrator must have configured an ECA model using the Expression Language Condition with a token whose value can be set by an untrusted user.
Credit
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
composer/drupal/eca_expression_languageto a version that resolves this vulnerability.Fixed in 2.0.1Fixed in 1.0.1
Event History
Frequently Asked Questions
Which sites are exposed to this issue?
A site is exposed only if an administrator has configured an ECA model that uses the Expression Language Condition and includes a token whose value can be controlled by an untrusted user.
What does an attacker need to exploit the issue?
The attacker must be able to set the value of a token used in an affected Expression Language Condition. They can then alter the condition evaluation and potentially bypass the ECA model logic that depends on it.