* Advisory ID: DRUPAL-SA-CONTRIB-2009-091 * Project: Node Hierarchy (third-party module) * Version: 6.x, 5.x * Date: 2009 November 4 * Security risk: Less critical * Exploitable from: Remote * Vulnerability: Cross Site Scripting -------- DESCRIPTION --------------------------------------------------------- The Node Hierarchy module enables a site administrator to arrange their site into a tree-like structure. When displaying the list of children for a node the module does not properly sanitize the titles of the child nodes before outputting them, leading to a cross-site scripting [1] (XSS) vulnerability which would allow a user with the ability to edit the nodes to gain full administrative access. -------- VERSIONS AFFECTED --------------------------------------------------- * Node Hierarchy versions for Drupal 6.x prior to 6.x-1.3 * Node Hierarchy versions for Drupal 5.x prior to 5.x-1.3 Drupal core is not affected. If you do not use the contributed Node Hierarchy module, there is nothing you need to do. -------- SOLUTION ------------------------------------------------------------ Upgrade to the latest version: * If you use Node Hierarchy for Drupal 6.x upgrade to version 6.x-1.3 [2] * If you use Node Hierarchy for Drupal 5.x upgrade to version 5.x-1.3 [3] See also the Node Hierarchy [4] project page. -------- REPORTED BY --------------------------------------------------------- * mr.baileys [5]. -------- FIXED BY ------------------------------------------------------------ * Ronan Dowling [6], the module maintainer. -------- 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/622092 [3] http://drupal.org/node/622100 [4] http://drupal.org/project/nodehierarchy [5] http://drupal.org/user/383424 [6] http://drupal.org/user/72815