Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By Drupal Security Team on
- Advisory ID: DRUPAL-SA-CONTRIB-2009-106
- Project: Agreement (third-party module)
- Version: 6.x
- Date: 2009-November-18
- Security risk: Moderately Critical
- Exploitable from: Remote
- Vulnerability: Cross Site Scripting
Description
The Agreement module enables the display of a text-based agreement (think "Terms of Service") that users of a particular role must accept before they are given access to the site. The module does not sanitize some of the user-supplied fields, leading to a Cross Site Scripting (XSS) vulnerability.
Versions affected
- Agreement module for Drupal 6.x prior to Agreement 6.x-1.2
Drupal core is not affected. If you do not use the contributed Agreement module, there is nothing you need to do.
Solution
Upgrade to the latest version:
- If you use the Agreement module for Drupal 6.x upgrade to Agreement 6.x-1.2
Reported by
- Reported by Dylan Wilder-Tack
Fixed by
- Fixed by Yuriy Babenko, the module maintainer.
Contact
The security team for Drupal can be reached at security at drupal.org or via the form at http://drupal.org/contact.