CSRF tokens are generated using math/rand, which is not a cryptographically secure random number generator, allowing an attacker to predict values and bypass CSRF protections with relatively few requests.
{
"cwe_ids": [
"CWE-332",
"CWE-352"
],
"github_reviewed": true,
"github_reviewed_at": "2022-12-30T19:45:18Z",
"nvd_published_at": "2022-12-27T22:15:00Z",
"severity": "HIGH"
}