{"id":"GHSA-pj2c-h76w-vv6f","summary":"tiny-csrf has openly visible CSRF tokens","details":"### Impact\n\nWeak encryption on CSRF so tokens can be read by malicious attackers. \n\n### Patches\n\nProblems have been patched as of v1.1.0\n\n### Workarounds\n\nUpgrade to v1.1.0\n\n### References\n\nhttps://cheatsheetseries.owasp.org/cheatsheets/Cross-Site_Request_Forgery_Prevention_Cheat_Sheet.html \n\n### For more information\n\nSubmit an issue at [the github repo](https://github.com/valexandersaulys/tiny-csrf)","aliases":["CVE-2022-39287"],"modified":"2023-11-08T04:10:17.775107Z","published":"2022-10-07T21:23:18Z","database_specific":{"cwe_ids":["CWE-319"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2022-10-07T21:23:18Z","nvd_published_at":"2022-10-07T20:15:00Z"},"references":[{"type":"WEB","url":"https://github.com/valexandersaulys/tiny-csrf/security/advisories/GHSA-pj2c-h76w-vv6f"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39287"},{"type":"WEB","url":"https://github.com/valexandersaulys/tiny-csrf/commit/8eead6da3b56e290512bbe8d20c2c5df3be317ba"},{"type":"PACKAGE","url":"https://github.com/valexandersaulys/tiny-csrf"}],"affected":[{"package":{"name":"tiny-csrf","ecosystem":"npm","purl":"pkg:npm/tiny-csrf"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.1.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/10/GHSA-pj2c-h76w-vv6f/GHSA-pj2c-h76w-vv6f.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N"}]}