- Advisory ID: DRUPAL-SA-CONTRIB-2015-040
- Project: Webform prepopulate block (third-party module)
- Version: 7.x
- Date: 2015-February-11
- Security risk: 14/25 ( Moderately Critical) AC:Basic/A:User/CI:Some/II:Some/E:Theoretical/TD:All
- Vulnerability: Cross Site Scripting
Description
Webform prepopulate block module enables you to set a webform component to display in a separated block.
The module doesn’t sufficiently sanitize user supplied text when displaying the block, thereby exposing a Cross Site Scripting vulnerability.
This vulnerability is mitigated by the fact that an attacker must have a role with permission to create or edit nodes.
CVE identifier(s) issued
- A CVE identifier will be requested, and added upon issuance, in accordance
with Drupal Security Team processes.
Versions affected
- Webform prepopulate block 7.x-3.0
Drupal core is not affected. If you do not use the contributed Webform prepopulate block module, there is nothing you need to do.
Solution
Install the latest version:
- If you use the Webform prepopulate block module for Drupal 7.x, upgrade to Webform prepopulate block 7.x-3.1
Also see the Webform prepopulate block project page.
Reported by
- Pere Orga of the Drupal Security Team
Fixed by
- Gabor Szanto the module maintainer
Coordinated by
- Pere Orga 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 https://www.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