P2: CSP allows unsafe-inline for styles — weakens XSS protection #12

Open
opened 2026-05-13 20:40:03 -05:00 by null · 0 comments
Owner

Severity: P2 — Medium

File: server/index.js ~line 102

Problem: styleSrc includes unsafe-inline, which allows inline styles and defeats CSPs primary security benefit.

Impact: XSS vulnerability — attackers can inject inline styles with malicious CSS.

Fix: Use nonce-based CSP for styles instead of unsafe-inline.

## Severity: P2 — Medium **File:** server/index.js ~line 102 **Problem:** styleSrc includes unsafe-inline, which allows inline styles and defeats CSPs primary security benefit. **Impact:** XSS vulnerability — attackers can inject inline styles with malicious CSS. **Fix:** Use nonce-based CSP for styles instead of unsafe-inline.
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: null/Queue-North-Website#12
No description provided.