Modify ↓
Opened 11 years ago
Closed 10 years ago
#11593 closed defect (fixed)
Style has not been sanitized
Reported by: | Owned by: | Mikael Relbe | |
---|---|---|---|
Priority: | normal | Component: | WikiExtrasPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: |
Description
I input CSS Expression in box.
{{{#!box style="width:expression(alert(1));" }}}
Output:
<div class="wikiextras box shadow" style="width:expression(alert(1));"></div>
This can used to attack xss in IE8 or older. Do you sanitize like WikiHtml(#!html)?
Attachments (1)
Change History (3)
Changed 11 years ago by
Attachment: | sanitize-attribute-r13796.diff added |
---|
comment:1 Changed 11 years ago by
Note: See
TracTickets for help on using
tickets.
The plugin certainly should sanitize the attributes. Also,
#!Color
processor has the same issue.Please try sanitize-attribute-r13796.diff.