Description
Overview
Missing CSP directives allowing potential XSS attacks.
Background
Missing X-Frame-Options, X-Content-Type-Options headers.
Specifications
- Configure strict CSP policy with nonce/hash support
- Add reporting endpoints
- Set up CSP violation monitoring
Tasks:
- Define CSP for app and admin
- Implement nonce generation
- Add CSP reporting
Impacted Files:
- src/middleware/csp.ts
- next.config.js (or equivalent)
Labels: priority-high, security, frontend
Acceptance Criteria
CSP headers prevent inline scripts and external resources
🙆Contribution Guidelines:
Assignment required before PR submission
Timeframe: 48-72 hours
PR description must include: Close #issue no
Star the repo⭐
Description
Overview
Missing CSP directives allowing potential XSS attacks.
Background
Missing X-Frame-Options, X-Content-Type-Options headers.
Specifications
Tasks:
Impacted Files:
Labels: priority-high, security, frontend
Acceptance Criteria
CSP headers prevent inline scripts and external resources
🙆Contribution Guidelines:
Assignment required before PR submission
Timeframe: 48-72 hours
PR description must include: Close #issue no
Star the repo⭐