This work introduces epanetCPA, an open-source MATLAB® toolbox for modelling the hydraulic response of water distribution systems to cyber-physical attacks. epanetCPA allows users to quickly design various attack scenarios and assess their impact via simulation with EPANET, a popular public-domain model for water network analysis. The toolbox offers both demand-driven and pressure-driven simulations, enabling the users to realistically analyze cyber-physical attacks and their impacts under both pressure sufficient and pressure deficient conditions. epanetCPA is available under the MIT license.