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
Reported 2012-09-18 17:17:56 PDT
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
Mike West
Comment 1 2013-02-07 11:00:46 PST
Unassigning myself; let's be realistic about what I'm actually working on. :/
Brent Fulgham
Comment 2 2016-04-12 13:10:06 PDT
The style-src changes in Bug 116508 may have addressed this. Dan, can you take a look?
Note You need to log in before you can comment on or make changes to this bug.