CSP configuration instructions introduce 'unsafe-inline' without warning about weakened security protections.
- Category
- Output Handling
- Confidence
- 97% confidence
- Finding
Recommending 'unsafe-inline' in script-src can weaken an existing CSP by allowing injected inline JavaScript when nonce/hash protections are absent. Although the external-script alternative reduces the risk, presenting broad inline permission as a routine installation option can remove an important XSS defense; inline style permission also broadens the policy unnecessarily.
- Content
