* Advisory ID: DRUPAL-SA-CONTRIB-2011-056 * Project: Webform Validation [1] (third-party module) * Version: 6.x, 7.x * Date: 2011-November-30 * Security risk: Moderately critical [2] * Exploitable from: Remote * Vulnerability: Cross Site Scripting
-------- DESCRIPTION ---------------------------------------------------------
The Webform Validation module enables you to add form validation rules to Webform components through a UI.
The module contains multiple cross site scripting (XSS) vulnerabilities due to the fact that it fails to sanitize certain user entered text prior to displaying in the browser.
This vulnerability is mitigated by the fact that an attacker must have a role with permission to update Webform nodes. Various permissions provide for this ability.
-------- VERSIONS AFFECTED ---------------------------------------------------
* Webform Validation 6.x-1.x versions prior to 6.x-1.4. * Webform Validation 7.x-1.x versions prior to 7.x-1.0.
Drupal core is not affected. If you do not use the contributed Webform Validation [3] module, there is nothing you need to do.
-------- SOLUTION ------------------------------------------------------------
Install the latest version:
* If you use the Webform Validation module for Drupal 6.x, upgrade to Webform Validation 6.x-1.5 [4] * If you use the Webform Validation module for Drupal 7.x, upgrade to Webform Validation 7.x-1.1 [5]
See also the Webform Validation [6] project page.
-------- REPORTED BY ---------------------------------------------------------
* Justin_KleinKeane [7]
-------- FIXED BY ------------------------------------------------------------
* Sven Decabooter [8] the module maintainer
-------- COORDINATED BY ------------------------------------------------------
* Forest Monsen [9] 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 [10].
Learn more about the Drupal Security team and their policies [11], writing secure code for Drupal [12], and securing your site [13].
[1] http://drupal.org/project/webform_validation [2] http://drupal.org/security-team/risk-levels [3] http://drupal.org/project/webform_validation [4] http://drupal.org/node/1357354 [5] http://drupal.org/node/1357356 [6] http://drupal.org/project/webform_validation [7] http://drupal.org/user/302225 [8] http://drupal.org/user/35369 [9] http://drupal.org/user/181798 [10] http://drupal.org/contact [11] http://drupal.org/security-team [12] http://drupal.org/writing-secure-code [13] http://drupal.org/security/secure-configuration