Allowed Formats
The module allows regular editors to use text formats that were previously blocked for a specific field. An ordinary account on the site could use this to add malicious content. This could allow them to view hidden data or change information on the site.
- Who could do thisOnly someone with a login on your site.
- Does it apply to youA site is affected if it installed the module in previous versions.
- Has it been used in attacksNo sign of it.
- How urgentDrupal rates this moderately critical. Include it in your next routine update, within the month.
Tell your developerUpdate Allowed Formats to 3.0.2.
For developers: what the fix changed
The fix modifies `allowed_formats_field_config_presave` and `_allowed_formats_convert_formats2core` in `allowed_formats.module` to prevent legacy third-party settings from overriding existing core `allowed_formats` settings during field saves.
Also in this release Added GitLab CI configuration and updated tests for PHPUnit compatibility and Drupal 10.3.0.
.gitlab-ci.yml+16 −0allowed_formats.module+16 −12 fix