One civilian was injured when militants attacked security forces early this morning in south Kashmir district of Anantnag.