Attachment upload fails

Hi,
Same problem here.

CSRFToken: Secret token verification failed, token: "null"

while UrlRewriteFilter is enabled.

The upload was working with v12.9.
It stopped after upgrading to v13.7 and i could only upload through the CKEditor.
I’ve just tested v13.9 and the problem still exists.

Has anyone found a fix?