After the 3rd Division, to which the 33rd Battalion was assigned, deployed to the Western Front in November 1916, Cartwright served with them through the Battle of Messines where he was wounded in June 1917. Later, in April 1918, he was wounded again when the 33rd Battalion's position was attacked with gas while holding a position around Villers-Bretonneux. He was briefly hospitalised but returned to duty in June. In August, the Allies launched the Hundred Days Offensive around Amiens, which resulted in a series of advances as the Allies sought to break through the Hindenburg Line.
On 31 August 1918, at Road Wood, south-west of Bouchavesnes, near Peronne, France, when two companies became held up by machine gun fire, Cartwright attacked the gun alone under intense fire. He shot three of the crew, and, having bombed the post, captured the gun and nine enemy soldiers. For his actions he was recommended for the Victoria Cross. On 30 September 1918 he was wounded and evacuated to England.