CVE-2026-142426: Composer/drupal/allowed_formats vulnerability
This module allows site builders to hide the text format help and guidelines. In the past, the module also allowed site owners to restrict the text formats used by a text field (a feature that has since been moved to Drupal core).
In certain conditions, the module allows regular editors to access text formats that were not allowed for a certain field, potentially leading to malicious content.
This vulnerability is mitigated by the fact only sites which installed the module in previous versions are affacted. A fresh 3.x install is not vulnerable.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
composer/drupal/allowed_formatsto a version that resolves this vulnerability.Fixed in 3.0.2
Event History
Frequently Asked Questions
Which sites are affected?
Only sites that installed the module in previous versions are affected. A fresh 3.x installation is not vulnerable.
What access does an attacker need to exploit this issue?
An attacker would need regular editor access and would need to encounter the conditions that allow use of a text format not permitted for the relevant field.
What is the potential impact?
Regular editors may be able to use text formats that were not allowed for a field, potentially allowing them to introduce malicious content.