- Advisory ID: DRUPAL-SA-CONTRIB-2015-175
- Project: Block Class (third-party module)
- Version: 7.x
- Date: 2015-December-16
- Security risk: 19/25 ( Critical) AC:None/A:Admin/CI:All/II:All/E:Theoretical/TD:All
- Vulnerability: Cross Site Scripting
Description
This module enables you to add custom classes to blocks.
The module doesn’t sufficiently scrub class names written by a malicious block class administrator.
This vulnerability is mitigated by the fact that an attacker must have a role with the permission “Administer block classes”.
CVE identifier(s) issued
- A CVE identifier will be requested, and added upon issuance, in accordance with Drupal Security Team processes.
Versions affected
- block_class 7.x-2.x versions prior to 7.x-2.2.
Drupal core is not affected. If you do not use the contributed Block Class module, there is nothing you need to do.
Solution
Install the latest version:
- If you use the block_class module for Drupal 7.x, upgrade to block_class 7.x-2.2
Also see the Block Class project page.
Reported by
- Neil Drumm of the Drupal Security Team
Fixed by
- Berend de Boer the module maintainer
Coordinated by
- Ben Dougherty of the Drupal Security Team
- Owen Barton of the Drupal Security Team
Contact and More Information
The Drupal security team can be reached at security at drupal.org or via the contact form at https://www.drupal.org/contact.
Learn more about the Drupal Security team and their policies, writing secure code for Drupal, and securing your site.
Follow the Drupal Security Team on Twitter at https://twitter.com/drupalsecurity