What’s Vulnerable › Vulnerabilities

CVE-2021-24362: Photo Gallery < 1.5.75 - Stored Cross-Site Scripting via Uploaded SVG

Description

The Photo Gallery by 10Web – Mobile-Friendly Image Gallery WordPress plugin before 1.5.75 did not ensure that uploaded SVG files added to a gallery do not contain malicious content. As a result, users allowed to add images to gallery can upload an SVG file containing JavaScript code, which will be executed when accessing the image directly (ie in the /wp-content/uploads/photo-gallery/ folder), leading to a Cross-Site Scripting (XSS) issue

Affected products

How to fix

Upgrade to a fixed version: 10web Photo Gallery by 10Web – Mobile-Friendly Image Gallery 1.5.75. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-24362 or the next vulnerability affects your stack