Hardening the rifasvelez-web Gallery: Protecting Against XSS and Attribute Injection
A recurring challenge in web development is securely integrating external content into dynamic user interfaces. For the rifasvelez-web project, which features an interactive image gallery, this challenge became a focal point when handling metadata from remote Cloudinary JSON fields. The risk? Unsanitized data could lead to dangerous Cross-Site Scripting (XSS) vulnerabilities and attribute injection attacks when rendered into elements like Fancybox captions.