Yes, standard m12 fine thread, but I doubt you will find one at a hardware store, that has the 'flange' like the stock one...
I had one lying around the shop, but bought one from yamaha at a ridiculous price... paid over 50zar. Thats like 5usd... for a nut! Thats nuts!!!