FeatureFuel
1

[Feature Request] Being able to enable secure session cookies

Source: paperless-ngx/paperless-ngx#14863 · opened by @tillo
AI usage Yes, AI tools helped write this request Description I have LLMs integrated at several levels of my infrastructure, including the QA IAST environment where this vulnerability has been found, but it has been verified as a true positive and I'm writing this post myself. Behaviour observed Behind my HTTPS reverse proxy, paperless serves the sessionid and csrftoken cookies without the Secure attribute. I have found no setting to enable Django's own [SESSION_COOKIE_SECURE]( and [CSRF_COOKIE_SECURE]( or any other way to activate this attribute without a mitigation on the reverse proxy itself, which I had to implement as a workaround. Behaviour expected Given that my browser reaches the application exclusively via HTTPS, I expect the cookies to automatically obtain the relevant attribute by default, with options to steer the cookie generation in either direction depending on the use case. Deployment details paperless-ngx 3.5.1, Django 5.2.17, Python 3.14.10 …

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests