WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
97053
Take a closer look at 'unsafe-inline' for the 'style-src' CSP directive.
https://bugs.webkit.org/show_bug.cgi?id=97053
Summary
Take a closer look at 'unsafe-inline' for the 'style-src' CSP directive.
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
Add attachment
proposed patch, testcase, etc.
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.
Top of Page
Format For Printing
XML
Clone This Bug