Same issue in 2025. I fixed it by adding the variable PAPERLESS_CSRF_TRUSTED_ORIGINS in the Unraid paperless docker container settings. I set it equal to the URL which I am using to access paperless. See reference here https://docs.paperless-ngx.com/configuration/#PAPERLESS_CSRF_TRUSTED_ORIGINS