-
CVSS Score
-Basic Information
CVE ID
-
GHSA ID
-
EPSS Score
-
CWE
-
Published
-
Updated
-
KEV Status
-
Technology
-
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| tiny-csrf | npm | < 1.1.0 | 1.1.0 |
The vulnerability stems from unencrypted transmission of CSRF tokens in cookies. The pre-patch version of index.js's csurf() function directly stored tokens via res.cookie('csrfToken', csrfToken) without encryption. The commit 8eead6d introduced encryption.js to handle AES-256-CBC encryption, and modified index.js to use signed/encrypted cookies via req.signedCookies and encryptCookie. The absence of encryption in token handling before this patch directly matches the CWE-319 (cleartext transmission) description in the advisory.
Ongoing coverage of React2Shell