RIM has warned BlackBerry users and IT departments to disable JavaScript on their handsets, after the identification of a security flaw that could give hackers unauthorized access to the smartphones after visiting a compromised site. The loophole, which affects devices running BlackBerry 6, could in theory allow access to devices’ memory cards and any data stored on them.