What’s Vulnerable › Vulnerabilities

CVE-2022-39287: Plaintext transmission of CSRF tokens in tiny-csrf

Description

tiny-csrf is a Node.js cross site request forgery (CSRF) protection middleware. In versions prior to 1.1.0 cookies were not encrypted and thus CSRF tokens were transmitted in the clear. This issue has been addressed in commit `8eead6d` and the patch with be included in version 1.1.0. Users are advised to upgrade. There are no known workarounds for this issue.

Affected products

How to fix

Upgrade to a fixed version: valexandersaulys tiny-csrf 1.1.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-39287 or the next vulnerability affects your stack