Skin

A 40 year old male developed persistant oral ulcers followed by multiple flaccid bullae on trunk and extremities. Direct examination of a skin biopsy immunoflurescence showed intercellular IgG deposits in the epidermis. The most probable diagnosis is: