Page MenuHomePhabricator

Template inclusion circumvents JavaScript filtering
Closed, ResolvedPublic

Description

Author: JoostMeerten

Description:
By including a template inside a style directive, arbitrary HTML attributes can
be injected after the style. This allows, among other things, the use of
malicious JavaScript. See the URL for an example.


Version: 1.4.x
Severity: normal
URL: http://en.wikipedia.org/wiki/User:JRM/Sandbox

Details

Reference
bz2304

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 8:34 PM
bzimport set Reference to bz2304.
bzimport added a subscriber: Unknown Object (MLST).

Fixed in 1.3.13, 1.4.5, and 1.5alpha2.

JoostMeerten wrote:

(In reply to comment #1)

Fixed in 1.3.13, 1.4.5, and 1.5alpha2.

If [[Special:Version]] on the en.wikipedia reports MW 1.4.5, then why is this
still working?

JoostMeerten wrote:

No, but NM. Works now.

mapellegrini wrote:

I've gone ahead and re-opened this.

That's bug 2309. Re-closing this bug.