Bug 97053
| Summary: | Take a closer look at 'unsafe-inline' for the 'style-src' CSP directive. | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Mike West <mkwst> |
| Component: | WebCore Misc. | Assignee: | Daniel Bates <dbates> |
| Status: | NEW | ||
| Severity: | Normal | CC: | bfulgham, dbates, felipe |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=116508 | ||
Mike West
These all might need to be blocked when 'unsafe-inline' is not whitelisted for the 'style-src' Content Security Policy directive:
> * doc.body.style.background = "...";
> * doc.body.bgcolor = "...";
> * doc.body.appendChild(doc.createElement("font"));
> * bgcolor attributes appearing in the markup
> * <font> elements appearing in the markup
See http://lists.w3.org/Archives/Public/public-webappsec/2012Sep/0055.html for context.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Mike West
Unassigning myself; let's be realistic about what I'm actually working on. :/
Brent Fulgham
The style-src changes in Bug 116508 may have addressed this. Dan, can you take a look?