diff --git a/bugs.md b/bugs.md index 719c5893..f8471f93 100644 --- a/bugs.md +++ b/bugs.md @@ -36,20 +36,6 @@ Validation run: - Problem: CSP is set in both the browser pipeline and endpoint-level security plug, with different directives. The effective behavior depends on header overwrite order. The policy also requires `'unsafe-inline'` because templates include inline scripts, reducing CSP's value against XSS. - Fix: centralize CSP construction in one plug. Move inline scripts into `assets/js/app.js` or LiveView hooks and remove `'unsafe-inline'` where possible. Consider nonces only for unavoidable inline bootstrapping. -### 9. Custom CSS is rendered from database into a raw style tag - -- Category: OWASP A03 Injection / CSS injection -- Evidence: `lib/towerops_web/live/status_page_live.html.heex:26` -- Problem: `@config.custom_css` is rendered inside `