CVE-2022-39287

Plaintext transmission of CSRF tokens in tiny-csrf

Published Oct 7, 2022 CVSS 3.1 · 8.1 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-7145 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.
Github GHSA Github GHSA GHSA-pj2c-h76w-vv6f tiny-csrf has openly visible CSRF tokens
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Apr 23, 2025, 4:52 PM
Reserved
Sep 2, 2022, 12:00 AM
Status
Modified
Published
Oct 7, 2022, 8:15 PM
Modified
Jun 17, 2026, 4:58 AM