Needs review
Project:
Drupal Long Term Support (LTS)
Version:
5.x-1.x-dev
Component:
Core
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
16 Jun 2011 at 21:23 UTC
Updated:
16 Jun 2011 at 21:53 UTC
When using re-colorable themes, color inputs are not sanitized. Malicious color values can be used to insert arbitrary CSS and script code. Successful exploitation requires the "Administer themes" permission.
This issue affects Drupal 6.x and 7.x.
Comments
Comment #1
johnbarclay commentedcolor changes in patchs:
http://drupalcode.org/project/drupal.git/blobdiff/8636b1234c84a07f0f087c...
Looks like the update looks through the database and checks for unsafe data in db. The patch to the color module simply adds another form validation to the color_scheme_form. All three look like they will map directly from the d6 patch to d5 with the only change being the update number in color.install being 5001.
I'll apply and test them and make a patch. Does this seem correct?