I have rooted galaxy s3, but I somehow deleted superuser. I still have CWM, and my phone can boot into download mode. Am I able to flash CyanogenMod without bricking my phone?
Because you still have a working CWM, you can just reflash it.
There are 2 competing implementations:
Most rooting utilities install the latter, so you're safe to also flash this.