- Advisory ID: DRUPAL-SA-CONTRIB-2014-014
- Project: Webform Validation (third-party module)
- Version: 6.x, 7.x
- Date: 2014-February-12
- Security risk: Moderately critical
- Exploitable from: Remote
- Vulnerability: Cross Site Scripting
Description
The Webform Validation module enables you to add additional form validation rules to Webforms created by the Webform module.
The module doesn't sufficiently filter component name text before display, opening up the possibility of cross site scripting.
This vulnerability is mitigated by the fact that an attacker must have a role with the permission to edit Webform content.
CVE identifier(s) issued
- A CVE identifier will be requested, and added upon issuance, in accordance with Drupal Security Team processes.
Versions affected
- Webform Validation 6.x-1.x versions prior to 6.x-1.6.
- Webform Validation 7.x-1.x versions prior to 7.x-1.4.
Drupal core is not affected. If you do not use the contributed Webform Validation 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.6.
- If you use the Webform Validation module for Drupal 7.x, upgrade to Webform Validation 7.x-1.4.
The only changes in these new versions are the fixes for this issue.
Also see the Webform Validation project page.
Reported by
Fixed by
- Maurits Lawende
- Liam Morland the module maintainer
Coordinated by
- Stella Power 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.
Follow the Drupal Security Team on Twitter at https://twitter.com/drupalsecurity