Skip to content
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

Set object_src to 'none' #52

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

QEDK
Copy link

@QEDK QEDK commented May 5, 2020

object-src is a common pathway for XSS injections. I doubt most sites using Flask use archaic plug-in elements but the possibility exists.
It's probably better explained in this paper: https://dl.acm.org/doi/pdf/10.1145/2976749.2978363
Even Google's CSP Evaluator now flags websites with a missing object-src value in their CSP.

object-src is a common pathway for XSS injections. I doubt most sites using Flask use archaic plug-in elements but the possibility exists. 
It's probably better explained in this paper: https://dl.acm.org/doi/pdf/10.1145/2976749.2978363
Even Google's CSP Evaluator now flags websites with a missing object-src value in their CSP.
@coveralls
Copy link

coveralls commented May 5, 2020

Coverage Status

Coverage remained the same at 100.0% when pulling 9ceb6fa on QEDK:QEDK-patch-object into cae1475 on GoogleCloudPlatform:master.

@QEDK
Copy link
Author

QEDK commented May 29, 2020

The issue probably lies in how Python 3.5 processes a dict and the code in the module parsing the dict into an OrderedDict()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants