Skip to content

No Referrer-Policy header on board responses #147

Description

@benvinegar

What

No Referrer-Policy header is set on any board response. ?key= query auth is accepted (server/app.ts:564) and echoed into a cookie.

Impact

Low today: the trusted viewer page is self-contained (no cross-origin subresources) and iframe srcs don't carry ?key=, so practical token-via-Referer leak is currently minimal. The gap opens if a ?key= URL ever lands next to an external resource (e.g. a future embed, a copied link pasted into a third-party site that loads it in a frame).

Fix

Add Referrer-Policy: no-referrer (or same-origin) to board responses.

Severity: Low

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions