Despite leading 19-0 until the final minute of the opening half, the Wizards struggled to overcome a spririted Llanharan outfit, who were fit and played withgreat heart.
Early tries by wing Richard Carter and centre David Hawkins were followed by a second from Hawkins with two converted by Jamie Davies.
Llanharan got on the board with an injury-time penalty by Wayne Jervis, but within five minutes of the restart, Carter went over again for Davies to convert.
Llanharan replied with a try by hooker Alan Williams and Jervis kicked a penalty, though Davies added a further Aberavon score with a penalty shot.
Aberavon were rocked again when flanker Ceri Jones went over for a last-minute try that Jervis converted from the touchline.
In Division One, leaders Maesteg won a local derby by 37-15 against Bridgend Athletic and scored five tries through wing Alun Brown (2), centre Paul Morgan, veteran scrum half Kevin Ellis and fly half Mark David.
David converted three and placed two penalty goals, but the Athletic responded with tries by Gavin Pound and Andy Tollentino and skipper Stuart Morris placed a conversion and penalty.
The Webb Ellis Cup visited Lampeter on Monday to recognise the fact that the town is celebrating a major milestone as it is believed the first ever game of rugby played in Wales, was in fact played in Lampeter 150 years ago.
Cardiff Blues U18 Girls will go into Sunday's Gemau Cymru with an extra spring in their step after Welsh internationals Elinor Snowsill and Philippa Tuttiett offered some last minute tips at a training session earlier this week.
Rob Howley and Josh Lewsey addressed more than 250 community club coaches and referees at the first WRU National Community Conference on the weekend. The volunteers benefitted from coaching masterclasses and workshops in a bid to connect all levels of the rugby pathway in Wales.
UEFA has today confirmed the Football Association of Wales (FAW) has been successful in its bid for the Millennium Stadium to host the 2017 UEFA Champions League Final on Saturday 3rd June, 2017 (kick-off: 19.45hrs GMT).