QR codes are often overused (especially in education). While they are beneficial tools for sharing linked information, they can easily be misused. To prevent falling victim to quishing, consider the source and how the qr codes are shared before scanning and opening links.
https://cybersecuritynews.com/malicious-pdf-microsoft-2fa-warning/