-
-
Notifications
You must be signed in to change notification settings - Fork 639
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Content-Security-Policy
disallow 'object-src' by default
#190
Labels
Comments
LeoColomb
added
awaiting feedback
Further information is requested
enhancement
New feature or request
labels
May 6, 2019
LeoColomb
changed the title
[CSP] disallow 'object-src' by default?
Jan 3, 2020
Content Security Policy
disallow 'object-src' by default
LeoColomb
changed the title
Jan 3, 2020
Content Security Policy
disallow 'object-src' by defaultContent-Security-Policy
disallow 'object-src' by default
LeoColomb
added a commit
that referenced
this issue
Jun 14, 2021
5 tasks
LeoColomb
added a commit
that referenced
this issue
Jun 14, 2021
LeoColomb
added a commit
that referenced
this issue
Jun 14, 2021
LeoColomb
added a commit
that referenced
this issue
Jun 24, 2021
LeoColomb
added a commit
to h5bp/server-configs-nginx
that referenced
this issue
Jun 28, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Google's csp-evaluator is complaining whenever the fetch-directive
object-src
is missing (unlessdefault-src
is'none'
, which is rarely done in the wild). I reported this to webhint aswell.object-src
, per the spec, "acts upon any request made on behalf of an<object>
,<embed>
, or<applet>
element" and can be used to allowplugin-types
such asapplication/x-shockwave-flash
(also, this directive may be removed from the web platform).These elements are largely considered legacy elements that do not recieve new standardized security features such as (
<iframe>
)sandbox
orallow
attributes.The recommendation is documented in https://csp.withgoogle.com/docs/strict-csp.html, and https://csp.withgoogle.com/docs/faq.html#comparison:
I don't have knowledge of how common it is or which other types of plugins may be used. I think people use
<object>
to embed PDFs etc. However, I don't think developers implementing a CSP today is still using these legacy elements.WDYT?
The text was updated successfully, but these errors were encountered: