Skip to content
OpenAdvisories
High · 8.1 CVE-2022-39287 EUVD-2022-7145GHSA-pj2c-h76w-vv6f

Plaintext transmission of CSRF tokens in tiny-csrf

Published Oct 7, 2022 · Updated Apr 23, 2025 · Assigned by GitHub_M

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

VendorProductAffectedFixed
valexandersaulys tiny-csrf < 1.1.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm tiny-csrf < 1.1.0 1.1.0 GHSA-pj2c-h76w-vv6f

References