I came through Dubai a few weeks ago with a 5m HDMI cable in my handcarry. I even got it out from my bag and separated it with my laptop, power bank and bag of other cables and adapters at security and nothing was said, didn't even get nominated for secondary security.