Unrated

drupal/svg_formatter - SA-CONTRIB-2018-027

  • Disclosed: 09.05.2018
  • Updated: 11.10.2026 13:17

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.

PlatformPackageVulnerable versionsFixed in
Composer package drupal/svg_formatter < 1.6.0 1.6.0
Drupal module drupal/svg_formatter < 1.6.0 1.6.0

References

CVSS score -
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 (Drupal module), 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

  1. 2018: 1
  2. 2019: 0
  3. 2020: 1
  4. 2021: 0
  5. 2022: 1
  6. 2023: 0
  7. 2024: 0
  8. 2025: 0
  9. 2026: 0
  1. Unrated drupal-contrib-2022-028 < 1.17.0, = 2.0.0 1.17.0
  2. Unrated drupal-contrib-2020-005 < 1.12.0 1.12.0
  3. drupal/svg_formatter - SA-CONTRIB-2018-027 this entry
    Unrated drupal-contrib-2018-027 < 1.6.0 1.6.0

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.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.