Read the docs
TI-2022-18663 Aliases CVE-2022-39287GHSA-pj2c-h76w-vv6f

Plaintext transmission of CSRF tokens in tiny-csrf

Priority LOW 38CWE-319Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Information disclosure
Confidentiality · integrity · availability
High · High · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-319.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.0052 44th percentileScored 2026-11-07
Fix Fixed tiny-csrf (valexandersaulys): 1.1.0tiny-csrf (npm): 1.1.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
valexandersaulystiny-csrfbefore 1.1.01.1.0Patch availableCNA
—tiny-csrf (npm)before 1.1.01.1.0Patch availableGHSA-pj2c-h76w-vv6f
  • tiny-csrf Vendorvalexandersaulys Affected before 1.1.0 Fixed in 1.1.0 Patch available CNA
  • tiny-csrf (npm) Vendor— Affected before 1.1.0 Fixed in 1.1.0 Patch available GHSA-pj2c-h76w-vv6f

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:tiny-csrf_project:tiny-csrf:*:*:*:*:*:node.js:*:*before 1.1.0VulnerableTiny-csrf Project
  • cpe:2.3:a:tiny-csrf_project:tiny-csrf:*:*:*:*:*:node.js:*:* Versions before 1.1.0 Vulnerable ·Tiny-csrf Project

Remediation

  • Fix · CNA tiny-csrf (valexandersaulys) Fixed in 1.1.0
  • Fix · GHSA-pj2c-h76w-vv6f tiny-csrf (npm) Fixed in 1.1.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-39287
  2. 2026-10-03 Alias added: GHSA-pj2c-h76w-vv6f

References

Sources