- Advisory ID: DRUPAL-SA-CONTRIB-2012-032
- Project: Block Class (third-party module)
- Version: 7.x
- Date: 2012-March-07
- Security risk: Moderately Critical
- Exploitable from: Remote
- Vulnerability: Cross Site Scripting
Description
CVE: CVE-2012-1657
The block class module allows users to add classes to any block through the block's configuration interface
The class names in a block were not properly filtered. Someone with the ability to modify or create blocks could inject java script that would be rendered when viewing the block.
Versions affected
- Blockclass versions prior to 7.x-1.0.
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-1.1
See also the Block Class project page.
Reported by
Fixed by
- Berend de Boer the module maintainer
Coordinated by
- Michael Hess 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 http://drupal.org/contact.
Learn more about the Drupal Security team and their policies, writing secure code for Drupal, and securing your site.