drupal/svg_formatter - SA-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 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 software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | drupal/svg_formatter | < 1.6.0 | 1.6.0 |
| Drupal module | drupal/svg_formatter | < 1.6.0 | 1.6.0 |
References
- Weakness (CWE)
-- Platform
- Composer, Drupal
- Package
drupal/svg_formatter- Disclosed
- 09.05.2018
- Updated
- 11.10.2026 13:17
Sources and licenses
OSV / GitHub Advisory Database - DRUPAL-CONTRIB-2018-027 - CC BY-SA 2.0; code GPL-2.0-or-later
Vulnerability history: drupal/svg_formatter
All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 3
- First → latest
- 05.2018 03.2022
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Unrated 3
Disclosures per year
- 2018: 1
- 2019: 0
- 2020: 1
- 2021: 0
- 2022: 1
- 2023: 0
- 2024: 0
- 2025: 0
- 2026: 0
-
drupal/svg_formatter - SA-CONTRIB-2018-027 this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.