Embodiments herein provide a membrane that is a product of a phenol crosslinked with one or more compounds containing an allyl group. The phenol may be electropolymerized with the allyl-containing compounds to form the crosslinked polymer. Suitable allyl-containing compounds include allylphenol, allylalcohol, allylamine, and allylcarbamide. A membrane may have one type of allyl-containing compound, or, alternatively, two or more types of compounds. As used in an analyte sensing device, a membrane formed from a crosslinked phenol may provide improved interference exclusion, peroxide response, stability, and/or solvent resistance.