google / csp-evaluator

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

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

Closed ddadon10 closed 3 years ago

ddadon10 commented 3 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 3 years ago

Hi David,