Date
Severity
Moderately Critical
Vulnerability
Cross Site Scripting
Affected versions
<7.x-1.6

Description

The AudioField module provides a field formatter that plays uploaded audio files through a choice of players.

The module doesn't escape the file description, or the uploaded filename when no description is given, before printing it as the title of the SoundManager2 Inline, SoundManager2 Bar UI and wavesurfer.js players, and it also prints the file description below every player without escaping it. A content author can therefore enter markup as a description or choose a filename that contains markup, and it executes for every visitor who views the content, including administrators.

This vulnerability is mitigated by the fact that the attacker needs permission to create or edit content that has an audio field, and that the field display must use the AudioField player formatter with either the description field enabled or one of the affected players selected.

Solution

Install the latest version.

If you use the AudioField module for Drupal 7, upgrade to AudioField 7.x-1.6:


Reported by

Fixed by

  • Tag1 D7ES

Coordinated by

  • Tag1 D7ES