GitHub Advisory Database
GHSA-pj2c-h76w-vv6f
tiny-csrf has openly visible CSRF tokens
Details
Impact
Weak encryption on CSRF so tokens can be read by malicious attackers.
Patches
Problems have been patched as of v1.1.0
Workarounds
Upgrade to v1.1.0
References
https://cheatsheetseries.owasp.org/cheatsheets/Cross-Site_Request_Forgery_Prevention_Cheat_Sheet.html
For more information
Submit an issue at the github repo
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | tiny-csrf | All versions before 1.1.0 (fixed in 1.1.0) |