All reports
High

Golf may allow attacker to bypass CSRF protections due to weak PRNG

Affected versions

Version ranges need review.

Affected versions
< 0.3.0
Fixed version
0.3.0
Affected versions
<0.3.0
Fixed version
0.3.0

Exploitation

CVE-2016-15005

Probability of exploitation in the next 30 days: 0.42%

FIRST EPSS · 2026-11-24

Description

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.

Links

Credits

  • @elithrar