Submitted by cccz, also found by 0x52
The _incrementGaugeWeight function is used to increase the users weight on the gauge. However, in the _incrementGaugeWeight function, it is only checked that the gauge parameter is not in _deprecatedGauges, but not checked that the gauge parameter is in _gauges. If the user accidentally uses the wrong gauge parameter, the function will be executed smoothly without any warning, which will cause user loss reward.
ERC20Gauges.sol#L257
Joeysantoro (xTRIBE) disagreed with High severity and commented:
0xean (judge) decreased severity to Medium and commented:
