QR Codes – what’s the real risk?

How safe is it to scan that QR code in the pub? Or in that email?

Source:: NCSC Guidance