Skip to content

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

MediumCVSS 6.5 EPSS 0.52%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
npm tiny-csrf(npm) < 1.1.0 1.1.0 Fixed
tiny-csrf project tiny-csrf < 1.1.0 1.1.0 Fixed
valexandersaulys tiny-csrf = < 1.1.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
npm tiny-csrf(npm) < 1.1.0 1.1.0
valexandersaulys tiny-csrf = < 1.1.0 No fix listed
tiny-csrf project tiny-csrf < 1.1.0 1.1.0

References