CVE-2026-142426: Composer/drupal/allowed_formats vulnerability

Published Dec 2, 2026
·
Updated

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

1 affected componentFixes available
composer/drupal/allowed_formats<3.0.2
3.0.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade composer/drupal/allowed_formats to a version that resolves this vulnerability.

    Fixed in 3.0.2

Event History

Dec 2, 2026
Advisory Published
via OSV·06:12 PM
Data Sourced
via OSV·06:12 PM
DescriptionAffected Software

Frequently Asked Questions

1

Which sites are affected?

Only sites that installed the module in previous versions are affected. A fresh 3.x installation is not vulnerable.

2

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.

3

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203