Organisations around the world have been scrambling to fix a critical security flaw that could affect millions of websites.