The revision unpublish form outputs the node title using !placeholder in t() so it is vulnerable to XSS. There are also PHP strict issues when using drupal_render(drupal_get_form()) as you have to separate the calls out since drupal_render() expects a reference.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Dave Reid’s picture

Status: Active » Needs review
FileSize
7.94 KB
Dave Reid’s picture

Without debugging code this time.

stevector’s picture

Thanks Dave. I patched my version and everything seemed fine. Anyone else want to test this before moving it in?

Dave Reid’s picture

Found a bug with the change of placeholder replacements. This one should be good to roll.

muriqui’s picture

Patch works for me. Messages look good, annoying strict warnings are gone.

Dave Reid’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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