Photo Gallery <= 1.5.74 - Stored Cross-Site Scripting via Uploaded SVG

6.1
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVE CVE-2021-24362
CVSS 6.1 (Medium)
Publicly Published July 18, 2021
Last Updated January 24, 2023
Researcher avolume

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

References

Share

Vulnerability Details for Photo Gallery by 10Web – Mobile-Friendly Image Gallery

Software Type Plugin
Software Slug photo-gallery (view on wordpress.org)
Patched? Yes
Remediation Update to version 1.5.75, or a newer patched version
Affected Version
  • < 1.5.75
Patched Version
  • 1.5.75

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation