Seven's template.php override of theme_admin_block_content() outputs a menu item's description without sanitizing. Core's theme_admin_block_content() runs through filter_xss_admin() so attached patch complies.

CommentFileSizeAuthor
seven-filter-menu-description.patch780 bytescoltrane
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

coltrane’s picture

We should be filtering and escaping before the theme system ...

coltrane’s picture

Status: Active » Needs review

Missed setting status.

cosmicdreams’s picture

Status: Needs review » Needs work

The last submitted patch, seven-filter-menu-description.patch, failed testing.

aspilicious’s picture

Status: Needs work » Needs review
coltrane’s picture

Priority: Normal » Critical

Marking critical since this has to be fixed before a 1.0 release.

seutje’s picture

Issue tags: +Security improvements

makes sense to me, handing it to the security folks

catch’s picture

Status: Needs review » Reviewed & tested by the community

filter_xss_admin() is what we use in the theme_*() function so this just brings it into line.

Dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to CVS HEAD.

Status: Fixed » Closed (fixed)
Issue tags: -Security improvements

Automatically closed -- issue fixed for 2 weeks with no activity.