As I see it, may is more certain than might . So, in your sentence: "You may want to undo what you did" , you assume that it is more likely that this person has an intention to undo what he/she did. The second sentence: "You might want to undo what you did" , is a bit more of a suggestion.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.