Photo Gallery by 10Web – Mobile-Friendly Image Gallery: Cross-site scripting
Photo Gallery by 10Web – Mobile-Friendly Image Gallery is affected by cross-site scripting. Exposure depends on how the affected operation is made reachable by the site. Injected script can execute in the affected site's origin when the vulnerable output is viewed.
- Component
- Photo Gallery by 10Web – Mobile-Friendly Image Gallery
- Plugin slug
photo-gallery- Affected
- See vendor advisory
- Safe version
- See mitigation notes
- Published
- Aug 16, 2021
This CVE was published Aug 16, 2021 and is one of 58 known issues for this plugin.
Update, patch or deactivate.
Update Photo Gallery by 10Web – Mobile-Friendly Image Gallery to a release outside the affected range, or disable and remove it until a fixed version is available.
No confirmed safe version is listed. Consider a vendor-supported patch or temporarily restricting the affected functionality while you assess the risk.
Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.
Technical 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
NVD vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N