An aerosol-generating system includes a cartridge and an aerosol-generating device configured to receive the cartridge. The cartridge includes a cartridge housing and a cartridge aerosol-forming substrate within the cartridge housing. The cartridge housing has a first end, a second end, a first side between the first end and the second end, and at least one aperture on the first side. The aerosol-generating device includes a device housing, a liquid aerosol-forming substrate, an electric heater, a power supply, and a controller. The device housing defines a cavity, a cavity air inlet, and a cavity air outlet. The cavity is configured to receive the cartridge such that an airflow from the cavity air inlet to the cavity outlet flows through the cartridge via the at least one aperture during an operation of the aerosol-generating system.