* Advisory ID: DRUPAL-SA-CONTRIB-2010-009 * Project: Block Class (third-party module) * Version: 6.x-1.2, 5.x-1.1 * Date: 2010-January-20 * Security risk: Less critical * Exploitable from: Remote * Vulnerability: Cross Site Scripting
-------- DESCRIPTION ---------------------------------------------------------
Block Class module allows users to add classes to any block through the block's configuration interface. This release includes a fix for a cross-site scripting (XSS [1]) vulnerability through which JavaScript could be inserted in the class field of a block's configuration interface. -------- VERSIONS AFFECTED ---------------------------------------------------
* Block Class module 5.x-1.1 and prior versions * Block Class module 6.x-1.2 and prior versions
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 5.x upgrade to Block Class 5.x-1.2 [2] * If you use the Block Class module for Drupal 6.x upgrade to Block Class 6.x-1.3 [3]
See also the Block Class [4] page. -------- REPORTED BY ---------------------------------------------------------
Didrik Nordström [5] -------- FIXED BY ------------------------------------------------------------
Didrik Nordström [6] and Todd Nienkerk [7]. -------- CONTACT -------------------------------------------------------------
The security contact for Drupal can be reached at security at drupal.org or via the form at http://drupal.org/contact.
[1] http://en.wikipedia.org/wiki/Cross-site_scripting [2] http://drupal.org/node/688622 [3] http://drupal.org/node/688624 [4] http://drupal.org/project/block_class [5] http://drupal.org/user/442208 [6] http://drupal.org/user/442208 [7] http://drupal.org/user/92096