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

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVE CVE-2021-24362
CVSS Medium (6.1)
Publicly Published July 18, 2021
Last Updated January 22, 2024
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

1 affected software package

Software Type Plugin
Software Slug photo-gallery (view on wordpress.org)
Patched? Yes
Affected Version
  • <= 1.5.75
Patched Version
  • 1.5.75
This record contains material that is subject to copyright

Copyright 2012-2026 Defiant Inc.
License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. License Detail.