A freelance videographer was attacked by a customs officer outside the Kuala Lumpur Sessions Court yesterday.