CONNAH'S Quay overcame the concession of a third-minute goal and the dismissal of Alan Morgan to fight back for the points at Park Avenue.
But the win was sealed by a controversial penalty decision in injury time when referee Cavanagh pointed to the spot after a goalmouth scramble from a long throw.
Chris Williams sent Aberystwyth keeper Richard Morgan the wrong way for only Nomads' second win of the campaign, which keeps the Black & Greens rooted in the basement places as well.
A more enjoyable afternoon for the home faithful looked on the cards when Glyndwr Hughes scored early on, but the game degenerated into a scrappy and niggling affair, with nine yellow cards and two reds.
Morgan's dismissal for a late challenge on Hughes only served to motivate Nomads who drew level in the 73rd minute thanks to sub Phil Molyneaux.
Home skipper Bari Morgan then got his marching orders for a second yellow card after lunging at Gary Linnard and Williams' late spot kick made it a happy day for the visitors.
Report and stats courtesy of welsh-premier.com