Chromium Code Reviews
DescriptionRemove attributes that contain javascript from MHTML
We remove the following attributes that could contain javascript since they will not work from fully sandboxed MHTML loading:
1) Any event handler attribute
2) Any attribute that can contain a URI will be executed as Javascript
3) Any attribute of SVG elements that can contain Javascript
BUG=669325
TEST=new tests added
Committed: https://crrev.com/52a4d5c0fa88e881003e2f352c4de4f294257529
Cr-Commit-Position: refs/heads/master@{#435811}
Patch Set 1 #
Total comments: 11
Patch Set 2 : Address feedback #
Total comments: 2
Patch Set 3 : Add positive tests #
Total comments: 2
Patch Set 4 : Fix #
Total comments: 2
Patch Set 5 : Address final feedback #Messages
Total messages: 38 (24 generated)
|