Skip to content
OpenAdvisories
Unscored DRUPAL-CONTRIB-2018-027

This module adds a new formatter for the file fields, which allows any file extension to be uploaded. The module doesn't sufficiently handl…

Published May 9, 2018 · Updated Sep 10, 2026 · Assigned by DRUPAL

Description

This module adds a new formatter for the file fields, which allows any file extension to be uploaded.
The module doesn't sufficiently handle sanitization under the scenario uploaded SVG files.
This vulnerability is mitigated by the fact that an attacker must have a role with the permission create or edit on certain content types that allows SVG files to be uploaded.

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist drupal/svg_formatter < 1.6.0 1.6.0 DRUPAL-CONTRIB-2018-027

References