• Advisory ID: DRUPAL-SA-CONTRIB-2012-145
  • Project: Imagemenu (third-party module)
  • Version: 6.x
  • Date: 2012-September-19
  • Security risk: Moderately critical
  • Exploitable from: Remote
  • Vulnerability: Cross Site Scripting


Imagemenu module allows you to create Drupal menus from images files.

The module doesn't sufficiently escape image file names when rendering menus, allowing a potential XSS attack.

This vulnerability is mitigated by the fact that an attacker must have a role with the permission "administer imagemenu".

CVE: CVE-2012-6583

Versions affected

  • Imagemenu 6.x-1.x versions prior to 6.x-1.4.

Drupal core is not affected. If you do not use the contributed Imagemenu module, there is nothing you need to do.


Install the latest version:

Also see the Imagemenu project page.

Reported by

Fixed by

Coordinated by

Contact and More Information

The Drupal security team can be reached at security at drupal.org or via the contact form at http://drupal.org/contact.

Learn more about the Drupal Security team and their policies, writing secure code for Drupal, and securing your site.