google / csp-evaluator

https://csp-evaluator.withgoogle.com
Apache License 2.0
335 stars 46 forks source link

Not setting directives that don't fallback to default-src should be raised as a severity finding. #23

Closed ddadon10 closed 4 years ago

ddadon10 commented 4 years ago

Hi, thanks for this website, it's very useful.

There are multiple directives that don't fallback to default-src.

Not setting them is the same as allowing anything for these directives.

Without some of these directive set, like form-action or base-url, it would be possible for a script to manipulate the DOM and allowing transmission of data to malicious websites.

Because of that, not setting these directives should be raised as a severity finding.

lweichselbaum commented 4 years ago

Hi David,