Advisory

GHSA-pj2c-h76w-vv6f

Also known as: CVE-2022-39287

Summary

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

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-10-07 21:23 UTC
Modified
2023-11-08 04:10 UTC

Affected packages and fixes

tiny-csrf

npm · All systems

Affected

  • introduced 0, fixed 1.1.0 (semver)

Fixed versions

1.1.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences