|
|
|
|
|
by foldr
17 days ago
|
|
This is a pretty good argument in the case of software written by a small team of experienced engineers. In that scenario, if the engineers don't have the nous to avoid the kinds of HTML injection vulnerabilities that might allow an attacker to inject their own JS code, then, as you say, they are probably also making lots of other mistakes. A CSP is more valuable in a larger organization, where the codebase is always at risk of being modified by the organization's worst engineer. |
|